Enum ic_agent::agent::agent_error::AgentError [−][src]
pub enum AgentError {
Show 34 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),
MissingReplicaTransport(),
TransportError(Box<dyn Error + Send + Sync>),
CallDataMismatch {
field: String,
value_arg: String,
value_cbor: String,
},
}
Variants
Tuple Fields of InvalidReplicaUrl
0: String
Tuple Fields of TimeoutWaitingForResponse
Tuple Fields of WaiterRestartError
Tuple Fields of SigningError
0: String
Tuple Fields of InvalidCborData
0: Error
Tuple Fields of CannotCalculateRequestId
Tuple Fields of UrlParseError
0: ParseError
Tuple Fields of InvalidMethodError
Tuple Fields of PrincipalError
Tuple Fields of HttpError
Tuple Fields of CannotUseAuthenticationOnNonSecureUrl
Tuple Fields of AuthenticationError
0: String
Tuple Fields of RequestStatusDoneNoReply
0: String
Tuple Fields of MessageError
0: String
Tuple Fields of Leb128ReadError
0: Error
Tuple Fields of Utf8ReadError
0: Utf8Error
Tuple Fields of CertificateVerificationFailed
Tuple Fields of NoRootKeyInStatus
0: Status
Tuple Fields of CouldNotReadRootKey
Tuple Fields of BlsInitializationFailure
Tuple Fields of WalletCallFailed
0: String
Tuple Fields of MissingReplicaTransport
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.