Errors¶
Here is a list of all the omni-fig
specific errors that may be raised.
-
exception
NoValidProjectError
(ident)[source]¶ Bases:
Exception
Raised when no project is found for the given identifier (which should be the name or path to the project)
-
exception
ConfigNotFoundError
(ident)[source]¶ Bases:
Exception
Raised when a config parameter is not found and no viable defaults are provided
-
exception
MissingParameterError
(key)[source]¶ Bases:
Exception
Raised when a config parameter was not found, and no viable defaults were provided
-
exception
InvalidKeyError
[source]¶ Bases:
Exception
Only raised when a key cannot be converted to an index for a
ConfigList
-
exception
UnknownActionError
[source]¶ Bases:
Exception
Raised when trying to record an unrecognized action with the config object
-
exception
PythonizeError
(obj)[source]¶ Bases:
Exception
Raised when an object is unable to be turned into a yaml object (primitives, dicts, lists)