Octez_riscv_nds_common.Nds_errorsCommon error types shared by both the in-memory and on-disk backends.
Each variant is registered once with the error monad so that callers can match on a single constructor regardless of the backend.
type verification_argument_error = | Verification_invalid_argument of invalid_argument_error| Verification of verification_errorexception Verification_failed of verification_errorRaised by Verify-mode backends when a host-function operation diverges from what the proof recorded. Consumers (notably the WASM PVM's verify_proof) catch this at the boundary of the kernel-step replay via Lwt.catch, turning a mid-stream proof-mismatch into a clean rejection.
Lives in the common layer so both memory and disk backends raise a single, uniformly-catchable exception.