# pylint: disable=missing-docstring## Custom exception types used throughout the library. All exceptions derive# from GMTError.classGMTError(Exception):""" Base class for all GMT related errors. """
classGMTCLibError(GMTError):""" Error encountered when running a function from the GMT shared library. """classGMTCLibNotFoundError(GMTCLibError):""" Could not find the GMT shared library. """classGMTCLibNoSessionError(GMTCLibError):""" Tried to access GMT API without a currently open GMT session. """
[docs]classGMTInvalidInput(GMTError):""" Raised when the input of a function/method is invalid. """
[docs]classGMTVersionError(GMTError):""" Raised when an incompatible version of GMT is being used. """
classGMTImageComparisonFailure(AssertionError):""" Raised when a comparison between two images fails. """