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 of InvalidReplicaUrl
0: StringTuple Fields of TimeoutWaitingForResponse
Tuple Fields of WaiterRestartError
SigningError(String)Tuple Fields of SigningError
0: StringInvalidCborData(Error)Tuple Fields of InvalidCborData
0: ErrorCannotCalculateRequestId(RequestIdError)Tuple Fields of CannotCalculateRequestId
UrlParseError(ParseError)Tuple Fields of UrlParseError
0: ParseErrorInvalidMethodError(InvalidMethod)Tuple Fields of InvalidMethodError
PrincipalError(PrincipalError)Tuple Fields of PrincipalError
HttpError(HttpErrorPayload)Tuple Fields of HttpError
Tuple Fields of CannotUseAuthenticationOnNonSecureUrl
AuthenticationError(String)Tuple Fields of AuthenticationError
0: StringRequestStatusDoneNoReply(String)Tuple Fields of RequestStatusDoneNoReply
0: StringMessageError(String)Tuple Fields of MessageError
0: StringLeb128ReadError(Error)Tuple Fields of Leb128ReadError
0: ErrorUtf8ReadError(Utf8Error)Tuple Fields of Utf8ReadError
0: Utf8ErrorTuple Fields of CertificateVerificationFailed
NoRootKeyInStatus(Status)Tuple Fields of NoRootKeyInStatus
0: StatusTuple Fields of CouldNotReadRootKey
Tuple Fields of BlsInitializationFailure
WalletCallFailed(String)Tuple Fields of WalletCallFailed
0: StringWalletError(String)Tuple Fields of WalletError
0: StringWalletUpgradeRequired(String)Tuple Fields of WalletUpgradeRequired
0: StringTuple Fields of MissingReplicaTransport
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