pitchtypes.errors

Exceptions

CustomException(message, **kwargs)

Exception that have a default message that can be extended.

CustomTypeError(message, **kwargs)

TypeErrors that have a default message that can be extended.

CustomValueError(message, **kwargs)

ValueErrors that have a default message that can be extended.

InvalidArgument(message[, arg])

Raised when an invalid argument is passed to a method or a function.

InvalidInitValue(message[, cls, val])

Raised when an invalid value is passed to an object's initializer.

PropertyUndefined(message, **kwargs)

Raised when a property is not defined for the given type.

UnexpectedType(message[, type])

Raised when an unexpected type is encountered.

UnexpectedValue(message[, val])

Raised when an unexpected value is encountered.