Enum ic_agent::agent::agent_error::AgentError [−][src]
pub enum AgentError {
Show 36 variants
InvalidReplicaUrl(String),
TimeoutWaitingForResponse(),
WaiterRestartError(),
SigningError(String),
InvalidCborData(Error),
CannotCalculateRequestId(RequestIdError),
CandidError(Box<dyn Send + Sync + Error>),
UrlParseError(ParseError),
InvalidMethodError(InvalidMethod),
PrincipalError(PrincipalError),
ReplicaError {
reject_code: u64,
reject_message: String,
},
HttpError(HttpErrorPayload),
CannotUseAuthenticationOnNonSecureUrl(),
AuthenticationError(String),
InvalidReplicaStatus,
RequestStatusDoneNoReply(String),
MessageError(String),
CustomError(Box<dyn Send + Sync + Error>),
Leb128ReadError(Error),
Utf8ReadError(Utf8Error),
LookupPathAbsent(Vec<Label>),
LookupPathUnknown(Vec<Label>),
LookupPathError(Vec<Label>),
InvalidRequestStatus(Vec<Label>, String),
CertificateVerificationFailed(),
DerKeyLengthMismatch {
expected: usize,
actual: usize,
},
DerPrefixMismatch {
expected: Vec<u8>,
actual: Vec<u8>,
},
NoRootKeyInStatus(Status),
CouldNotReadRootKey(),
BlsInitializationFailure(),
WalletCallFailed(String),
WalletError(String),
WalletUpgradeRequired(String),
MissingReplicaTransport(),
TransportError(Box<dyn Error + Send + Sync>),
CallDataMismatch {
field: String,
value_arg: String,
value_cbor: String,
},
}Variants
InvalidReplicaUrl(String)
Tuple Fields
0: StringTimeoutWaitingForResponse()
Tuple Fields
WaiterRestartError()
Tuple Fields
SigningError(String)
Tuple Fields
0: StringInvalidCborData(Error)
Tuple Fields
0: ErrorCannotCalculateRequestId(RequestIdError)
Tuple Fields
CandidError(Box<dyn Send + Sync + Error>)
UrlParseError(ParseError)
Tuple Fields
0: ParseErrorInvalidMethodError(InvalidMethod)
Tuple Fields
PrincipalError(PrincipalError)
Tuple Fields
ReplicaError
HttpError(HttpErrorPayload)
Tuple Fields
CannotUseAuthenticationOnNonSecureUrl()
Tuple Fields
AuthenticationError(String)
Tuple Fields
0: StringInvalidReplicaStatus
RequestStatusDoneNoReply(String)
Tuple Fields
0: StringMessageError(String)
Tuple Fields
0: StringCustomError(Box<dyn Send + Sync + Error>)
Leb128ReadError(Error)
Tuple Fields
0: ErrorUtf8ReadError(Utf8Error)
Tuple Fields
0: Utf8ErrorLookupPathAbsent(Vec<Label>)
LookupPathUnknown(Vec<Label>)
LookupPathError(Vec<Label>)
InvalidRequestStatus(Vec<Label>, String)
CertificateVerificationFailed()
Tuple Fields
DerKeyLengthMismatch
DerPrefixMismatch
NoRootKeyInStatus(Status)
Tuple Fields
0: StatusCouldNotReadRootKey()
Tuple Fields
BlsInitializationFailure()
Tuple Fields
WalletCallFailed(String)
Tuple Fields
0: StringWalletError(String)
Tuple Fields
0: StringWalletUpgradeRequired(String)
Tuple Fields
0: StringMissingReplicaTransport()
Tuple Fields
TransportError(Box<dyn Error + Send + Sync>)
CallDataMismatch
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AgentError
impl Send for AgentError
impl Sync for AgentError
impl Unpin for AgentError
impl !UnwindSafe for AgentError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
