Enum krakenrs::Error [−][src]
pub enum Error {
Url(UrlParseError),
Reqwest(Error),
BadStatus(Response),
Json(Error, String),
KrakenErrors(Vec<String>),
MissingResultJson,
MissingCredentials,
TimeError,
SerializingQs(Error),
SigningB64(DecodeError),
InvalidHeader(InvalidHeaderValue),
}
Expand description
An error that can be generated from the low-level kraken client
Variants
Url(UrlParseError)
Tuple Fields
Failed forming URI: {0}
Reqwest(Error)
Tuple Fields
0: Error
Reqwest error: {0}
BadStatus(Response)
Tuple Fields
0: Response
kraken returned bad status: {0:?}
Json(Error, String)
json deserialization failed: {0}, body was: {1}
KrakenErrors(Vec<String>)
Kraken errors present: {0:?}
MissingResultJson
Missing result json
MissingCredentials
Missing credentials required for private APIs
TimeError
Time error (preventing nonce computation)
SerializingQs(Error)
Tuple Fields
0: Error
Error serializing query string: {0}
SigningB64(DecodeError)
Tuple Fields
0: DecodeError
base64 error during signing: {0}
InvalidHeader(InvalidHeaderValue)
Tuple Fields
Invalid header value: {0}
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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