Errors¶
API Status
Error documentation needs comprehensive coverage of all exception types.
Error Categories¶
[Overview of error types]
Exception Reference¶
relation_errors
¶
This module provides the errors for the relation module.
Classes¶
DuplicateAttributeError
¶
ExpectedOneError
¶
Bases: Exception
This exception is raised when get count differs from 1.
Source code in half_orm/relation_errors.py
IsFrozenError
¶
NotASingletonError
¶
Bases: Exception
The constraint do not define a singleton.
Raised from ExpectedOneError (err).
Source code in half_orm/relation_errors.py
UnknownAttributeError
¶
WrongFkeyError
¶
Bases: Exception
Raised when Fkeys contains a wrong name
Source code in half_orm/relation_errors.py
model_errors
¶
This module provides the errors for the model module.
Classes¶
MalformedConfigFile
¶
Bases: Exception
The config file is malformed.
The missing parameters are indicated in the error message.
Source code in half_orm/model_errors.py
MissingConfigFile
¶
MissingSchemaInName
¶
UnknownRelation
¶
Bases: Exception
The FQRN doesn't match any relation in the database.