StackValidationMode
Stack validation mode.
Strict: always keep the stack in a valid state. Throw an exception if the stack is transitioning to an invalid state.
Lenient: always keep the stack in a valid state. Do nothing if the stack is in an invalid state (keep the stack as is).
Warning: always keep the stack in a valid state. Log a warning if the stack is in an invalid state (keep the stack as is).
Inheritors
Types
Link copied to clipboard
Represents the lenient stack validation mode. In this mode, the stack is always kept in a valid state. If the stack transitions to an invalid state, no action is taken.
Link copied to clipboard
Represents the strict stack validation mode. In this mode, the stack is always kept in a valid state. An exception is thrown if the stack transitions to an invalid state.