EUnexpected

exception tracdap.rt.exceptions.EUnexpected

Bases: ETracInternal

An unexpected error has occurred in the TRAC runtime engine (this is a bug)

An unexpected error is an internal error that should never happen, it represents a logical inconsistency within a single component or subsystem. For example, a failed sanity check or a case where a condition that should be guaranteed is not met. Unexpected errors are always fatal.

The conditions for EUnexpected should be wholly expressed by a single component or subsystem. If a component exposes an interface to other components of the engine, and requests via that interface are invalid or can put the component into an illegal state, that does not count as unexpected. If this condition is not met, use ETracInternal instead.