pub enum VortexError {
InvalidApiKey(String),
CryptoError(String),
HttpError(String),
ApiError(String),
SerializationError(String),
InvalidRequest(String),
}Expand description
Error types for Vortex SDK operations
Variants§
InvalidApiKey(String)
Invalid API key format or content
CryptoError(String)
Cryptographic operation failed
HttpError(String)
HTTP request failed
ApiError(String)
API returned an error
SerializationError(String)
JSON serialization/deserialization failed
InvalidRequest(String)
Invalid request
Trait Implementations§
Source§impl Debug for VortexError
impl Debug for VortexError
Source§impl Display for VortexError
impl Display for VortexError
Source§impl Error for VortexError
impl Error for VortexError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for VortexError
impl RefUnwindSafe for VortexError
impl Send for VortexError
impl Sync for VortexError
impl Unpin for VortexError
impl UnwindSafe for VortexError
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