pygmt.exceptions.GMTTypeError

exception pygmt.exceptions.GMTTypeError(dtype, /, reason=None)[source]

Raised when an invalid type is passed to a function/method.

This exception is used to indicate that the type of an argument does not match the expected type.