pub enum VoltariaError {
InvalidApiKey,
Build(ApiError),
}Expand description
Errors produced while constructing a prefix-routed client.
Variants§
InvalidApiKey
The API key did not start with a recognised environment prefix
(live_ or sandbox_) and no explicit environment or base URL was
supplied to override the prefix routing.
Build(ApiError)
The underlying generated client failed to build.
Trait Implementations§
Source§impl Debug for VoltariaError
impl Debug for VoltariaError
Source§impl Display for VoltariaError
impl Display for VoltariaError
Source§impl Error for VoltariaError
impl Error for VoltariaError
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 !RefUnwindSafe for VoltariaError
impl !UnwindSafe for VoltariaError
impl Freeze for VoltariaError
impl Send for VoltariaError
impl Sync for VoltariaError
impl Unpin for VoltariaError
impl UnsafeUnpin for VoltariaError
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