Source code for openff.interchange.warnings

"""Custom warnings used in Interchange."""


[docs]class InterchangeDeprecationWarning(UserWarning): """Warning for deprecated portions of the Interchange API."""
[docs]class SwitchingFunctionNotImplementedWarning(UserWarning): """Exporting to an engine that does not implement a switching function."""
[docs]class MissingPositionsWarning(UserWarning): """Warning for when positions are likely needed but missing."""