pub enum LcAppError {
CookiesExpiredError,
DeserializeError(Error),
RequestError(Error),
StatusCodeError {
code: String,
contents: String,
},
ClientBuildError(InvalidHeaderValue),
LanguageDoesNotExistError(String),
}
Variants§
CookiesExpiredError
DeserializeError(Error)
RequestError(Error)
StatusCodeError
ClientBuildError(InvalidHeaderValue)
LanguageDoesNotExistError(String)
Trait Implementations§
Source§impl Debug for LcAppError
impl Debug for LcAppError
Source§impl Display for LcAppError
impl Display for LcAppError
Source§impl Error for LcAppError
impl Error for LcAppError
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<Error> for LcAppError
impl From<Error> for LcAppError
Source§impl From<Error> for LcAppError
impl From<Error> for LcAppError
Source§impl From<InvalidHeaderValue> for LcAppError
impl From<InvalidHeaderValue> for LcAppError
Source§fn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LcAppError
impl !RefUnwindSafe for LcAppError
impl Send for LcAppError
impl Sync for LcAppError
impl Unpin for LcAppError
impl !UnwindSafe for LcAppError
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