Enum avassa_client::Error [−][src]
pub enum Error {
LoginFailure(String),
LoginFailureMissingEnv(String),
WebServer(u16, String),
WebSocket(Error),
Serde(Error),
URL(ParseError),
HTTPClient(Error),
Volga(Option<String>),
API(String),
REST(RESTErrorList),
TLS(Error),
IO(Error),
}Error returned by client functions
Variants
LoginFailure(String)Login failed
LoginFailureMissingEnv(String)Application login failed because an environment variable is missing
Failed returned by the HTTP server
WebSocket(Error)Websocket error
Serde(Error)JSON serialization/deserialization error
URL(ParseError)URL parsing error
HTTPClient(Error)HTTP client error
Volga error
API(String)This error is returned if we get data from the API we can’t parse/understand
REST(RESTErrorList)This error is returned from the REST API, this typically means the client did something wrong.
TLS(Error)TLS Errors
IO(Error)IO Errors
Trait Implementations
impl From<ParseError> for Error[src]
impl From<ParseError> for Error[src]fn from(source: ParseError) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Errorimpl !UnwindSafe for Error
impl !UnwindSafe for ErrorBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,