ReactorErrorKind
ReactorErrorKind =
"invalid_args"|"unauthenticated"|"not_delivered"|"outcome_unknown"|"rejected"|"invalid_reply"|"canister_err"|"cancelled"
Defined in: core/src/errors.ts:45
What kind of failure a ReactorError reports.
invalid_args: the arguments could not be encoded, or the target canister id could not be resolved. Nothing was sent.unauthenticated: an update was attempted while not signed in. Nothing was sent.not_delivered: nothing that matters ran. Either the request was refused or never taken in (the replica or a boundary node turned it away, or the system could not take it in), or it was a query, which changes nothing, and no answer came back. A failed query may well have reached the canister, somayHaveExecutedcarries the guarantee: it isfalseon everynot_delivered, because a refused update never ran and a query changes nothing.outcome_unknown: an update went out and no trustworthy answer came back, so the canister may or may not have run it.rejected: the IC or the canister rejected the call;rejectCodesays which.invalid_reply: a reply arrived but did not decode as the method’s result.canister_err: the canister ran the call and replied with theErrarm of its result;erris typed. The outcome is that answer, somayHaveExecutedisfalse: re-sending is a new decision, not a retry.cancelled: the caller abandoned the call (an aborted query, a key whose principal is no longer current, a call on a disposed client (client_disposed), or an update aborted in flight).mayHaveExecutedisfalsewhen nothing was sent, andtruefor an update aborted after its request may already have been delivered.