Enum ic_agent::agent::agent_error::AgentError [−][src]
pub enum AgentError {
Show variants
InvalidReplicaUrl(String),
TimeoutWaitingForResponse(),
WaiterRestartError(),
SigningError(String),
InvalidCborData(Error),
CannotCalculateRequestId(RequestIdError),
CandidError(Box<dyn Send + Sync + Error>),
UrlParseError(ParseError),
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),
MissingReplicaTransport(),
TransportError(Box<dyn Error + Send + Sync>),
CallDataMismatch {
field: String,
value_arg: String,
value_cbor: String,
},
}Variants
InvalidReplicaUrl(String)SigningError(String)InvalidCborData(Error)CannotCalculateRequestId(RequestIdError)UrlParseError(ParseError)PrincipalError(PrincipalError)HttpError(HttpErrorPayload)AuthenticationError(String)RequestStatusDoneNoReply(String)MessageError(String)Leb128ReadError(Error)Utf8ReadError(Utf8Error)NoRootKeyInStatus(Status)WalletCallFailed(String)Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AgentErrorimpl Send for AgentErrorimpl Sync for AgentErrorimpl Unpin for AgentErrorimpl !UnwindSafe for AgentError