Enum ic_agent::agent::agent_error::AgentError
source · [−]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)
TimeoutWaitingForResponse()
WaiterRestartError()
SigningError(String)
InvalidCborData(Error)
CannotCalculateRequestId(RequestIdError)
CandidError(Box<dyn Send + Sync + Error>)
UrlParseError(ParseError)
InvalidMethodError(InvalidMethod)
PrincipalError(PrincipalError)
ReplicaError
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
DerPrefixMismatch
NoRootKeyInStatus(Status)
CouldNotReadRootKey()
BlsInitializationFailure()
WalletCallFailed(String)
WalletError(String)
WalletUpgradeRequired(String)
MissingReplicaTransport()
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