pub enum VyperError {
HttpError(Error),
DeserializeError(Error),
AuthenticationError(String),
RateLimitError {
message: String,
retry_after: Option<f64>,
},
ServerError(String),
ApiError(String, u16),
WebsocketError {
message: String,
status_code: Option<u16>,
connection_info: Option<String>,
},
}Variants§
HttpError(Error)
DeserializeError(Error)
AuthenticationError(String)
RateLimitError
ServerError(String)
ApiError(String, u16)
WebsocketError
Implementations§
Trait Implementations§
Source§impl Debug for VyperError
impl Debug for VyperError
Source§impl Display for VyperError
impl Display for VyperError
Source§impl Error for VyperError
impl Error for VyperError
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<&str> for VyperError
impl From<&str> for VyperError
Source§impl From<Error> for VyperError
impl From<Error> for VyperError
Auto Trait Implementations§
impl !RefUnwindSafe for VyperError
impl !UnwindSafe for VyperError
impl Freeze for VyperError
impl Send for VyperError
impl Sync for VyperError
impl Unpin for VyperError
impl UnsafeUnpin for VyperError
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