adorn.exception.configuration_error module

Generic exception for a misconfigured object.

exception adorn.exception.configuration_error.ConfigurationError(message)

Bases: Exception

The exception raised by any object when it’s misconfigured.

(e.g. missing properties, invalid properties, unknown properties).

Note

This Exception should typically be avoided, and instead an exception that subclasses TypeCheckError or a new custom Exception should be used. These alternate Exception objects contain more information, and are therefore more useful for the caller.

Parameters

message (str) –