Exceptions

exception pigment.exceptions.PigmentError[source]

The base class for all Pigment exceptions


exception pigment.exceptions.InvalidRGBValue[source]

A value was invalid when converting or saving a color in RGB form

Note

Also a subclass of ValueError

exception pigment.exceptions.WrongLengthError(argument: Optional[str] = None)[source]

The argument provided had an invalid length

Note

Also a subclass of ValueError

argument

The name of the argument

Type

str