pub enum FireblocksError {
Show 30 variants
TokenError(Error),
JwtError(JwtError),
SerdeJson {
request_id: String,
err: Error,
text: String,
},
ReqwestError(Error),
UrlError(ParseError),
QueryParamError(ParamError),
InternalError {
request_id: String,
path: String,
code: u16,
text: String,
},
NotFound {
request_id: String,
path: String,
},
BadRequest {
request_id: String,
path: String,
text: String,
},
Unauthorized {
request_id: String,
path: String,
text: String,
},
Forbidden {
request_id: String,
path: String,
text: String,
},
Unknown {
request_id: String,
path: String,
code: u16,
text: String,
},
InvalidRequest {
request_id: String,
code: u16,
text: String,
},
FetchTransactionsError(Error<GetTransactionsError>),
FetchVaultAccountError(Error<GetVaultAccountError>),
FetchAddressesError(Error<GetVaultAccountAssetAddressesPaginatedError>),
FetchTransactionError(Error<GetTransactionError>),
FetchCreateAssetError(Error<CreateVaultAccountAssetAddressError>),
FetchSupportedAssetsError(Error<GetSupportedAssetsError>),
FetchVaultAssetActivateCreateError(String),
FetchVaultCreateError(String),
FetchWalletCreateError(String),
InvalidWalletType(WalletType),
FetchWalletContractError(String),
FetchWalletExternalError(String),
FetchWalletInternalError(String),
FetchCreateTransactionError(String),
UuidErr(Error),
FetchWalletError(String),
FetchVaultsPagedError(String),
}
Variants§
TokenError(Error)
Thrown when Token fails
JwtError(JwtError)
Thrown when JWT signing fails
SerdeJson
Serde JSON Error
ReqwestError(Error)
Thrown when submitting a POST/GET request fails
UrlError(ParseError)
QueryParamError(ParamError)
InternalError
NotFound
BadRequest
Fields
Forbidden
Unknown
InvalidRequest
FetchTransactionsError(Error<GetTransactionsError>)
FetchVaultAccountError(Error<GetVaultAccountError>)
FetchAddressesError(Error<GetVaultAccountAssetAddressesPaginatedError>)
FetchTransactionError(Error<GetTransactionError>)
FetchCreateAssetError(Error<CreateVaultAccountAssetAddressError>)
FetchSupportedAssetsError(Error<GetSupportedAssetsError>)
FetchVaultAssetActivateCreateError(String)
FetchVaultCreateError(String)
FetchWalletCreateError(String)
InvalidWalletType(WalletType)
FetchWalletContractError(String)
FetchWalletExternalError(String)
FetchWalletInternalError(String)
FetchCreateTransactionError(String)
UuidErr(Error)
FetchWalletError(String)
FetchVaultsPagedError(String)
Trait Implementations§
Source§impl Debug for FireblocksError
impl Debug for FireblocksError
Source§impl Display for FireblocksError
impl Display for FireblocksError
Source§impl Error for FireblocksError
impl Error for FireblocksError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error<CreateVaultAccountAssetAddressError>> for FireblocksError
impl From<Error<CreateVaultAccountAssetAddressError>> for FireblocksError
Source§fn from(source: Error<CreateVaultAccountAssetAddressError>) -> Self
fn from(source: Error<CreateVaultAccountAssetAddressError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<GetSupportedAssetsError>> for FireblocksError
impl From<Error<GetSupportedAssetsError>> for FireblocksError
Source§fn from(source: Error<GetSupportedAssetsError>) -> Self
fn from(source: Error<GetSupportedAssetsError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<GetTransactionError>> for FireblocksError
impl From<Error<GetTransactionError>> for FireblocksError
Source§fn from(source: Error<GetTransactionError>) -> Self
fn from(source: Error<GetTransactionError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<GetTransactionsError>> for FireblocksError
impl From<Error<GetTransactionsError>> for FireblocksError
Source§fn from(source: Error<GetTransactionsError>) -> Self
fn from(source: Error<GetTransactionsError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<GetVaultAccountAssetAddressesPaginatedError>> for FireblocksError
impl From<Error<GetVaultAccountAssetAddressesPaginatedError>> for FireblocksError
Source§fn from(source: Error<GetVaultAccountAssetAddressesPaginatedError>) -> Self
fn from(source: Error<GetVaultAccountAssetAddressesPaginatedError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<GetVaultAccountError>> for FireblocksError
impl From<Error<GetVaultAccountError>> for FireblocksError
Source§fn from(source: Error<GetVaultAccountError>) -> Self
fn from(source: Error<GetVaultAccountError>) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FireblocksError
impl From<Error> for FireblocksError
Source§impl From<Error> for FireblocksError
impl From<Error> for FireblocksError
Source§impl From<Error> for FireblocksError
impl From<Error> for FireblocksError
Source§impl From<ParamError> for FireblocksError
impl From<ParamError> for FireblocksError
Source§fn from(source: ParamError) -> Self
fn from(source: ParamError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for FireblocksError
impl From<ParseError> for FireblocksError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FireblocksError
impl !RefUnwindSafe for FireblocksError
impl Send for FireblocksError
impl Sync for FireblocksError
impl Unpin for FireblocksError
impl !UnwindSafe for FireblocksError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more