aeidon.errors.AffirmationError¶
Source: aeidon/errors.py
Anchestors: aeidon.errors.Error, builtins.Exception, builtins.BaseException, builtins.object
- class aeidon.errors.AffirmationError¶
Something expected to be True was False.
AffirmationError is by nature similar to the built-in AssertionError, but without the special reliance on __debug__ and given optimization options. AffirmationError can be used to provide essential checks of boolean values instead of optional debug checks.