boofun.utils.exceptions.InvariantViolationError
- exception boofun.utils.exceptions.InvariantViolationError(message: str, code: ErrorCode | None = None, context: Dict[str, Any] | None = None)[source]
Raised when an internal invariant is violated.
This indicates a bug in the library itself, not a user error. If you encounter this exception, please report it as a bug.
- Raised By:
Internal consistency checks that fail
Algorithm outputs that violate postconditions
State machine transitions to invalid states
- Error Codes:
E9000: Generic internal error E9001: Invariant violation E9002: State corruption E9003: Algorithm error
Example
If you see this error, please report it at: https://github.com/boofun/boofun/issues