Skip to main content

is_any_invariant_violation

Function is_any_invariant_violation 

Source
pub fn is_any_invariant_violation(kind: &ExecutionErrorKind) -> bool
Expand description

Whether kind is an invariant violation of the execution layer or of the Move VM: an internal error, not a failure the transaction caused. A kind wrapped in an ExecutionErrorKind::MoveAuthentication status must be unwrapped first with unwrap_move_authentication_error().