gpridge.integrations.errors =========================== .. py:module:: gpridge.integrations.errors .. autoapi-nested-parse:: Errors raised by the optional engine oracles. A failed evaluation that the search can reject is not one of these exceptions at the C buffer boundary: ``write_oracle`` and ``write_force`` catch them and write a non-finite energy. ``evaluate`` raises them so a Python caller sees the reason. Exceptions ---------- .. autoapisummary:: gpridge.integrations.errors.IntegrationError gpridge.integrations.errors.GeometryError gpridge.integrations.errors.UnsupportedUnits gpridge.integrations.errors.LifecycleError gpridge.integrations.errors.EngineEvaluationError Module Contents --------------- .. py:exception:: IntegrationError Bases: :py:obj:`Exception` Base for a rejected geometry, a closed oracle, or a failed evaluation. .. py:exception:: GeometryError Bases: :py:obj:`IntegrationError` Positions, cell, atom order, or fixed-atom data do not match the oracle. .. py:exception:: UnsupportedUnits Bases: :py:obj:`IntegrationError` The engine unit style has no conversion into eV and Angstrom. .. py:exception:: LifecycleError Bases: :py:obj:`IntegrationError` The oracle has been closed, or a context manager was entered twice. .. py:exception:: EngineEvaluationError Bases: :py:obj:`IntegrationError` The engine rejected this geometry and can be called again.