Exceptions

The exceptions that smarter-types raises.

exception smarter_types.exceptions.SmarterTypesError[source]

Bases: Exception

The base class of every exception that smarter-types raises.

exception smarter_types.exceptions.SmarterTypesValueError[source]

Bases: SmarterTypesError, ValueError

A value that is not one of an enumeration’s, e.g. a string that is not a SAM kind.