pub enum SQLRiteError {
NotImplemented(String),
General(String),
Internal(String),
UnknownCommand(String),
SqlError(ParserError),
Io(Error),
}Expand description
SQLRiteError is an enum with all the standardized errors available for returning
Variants§
NotImplemented(String)
General(String)
Internal(String)
UnknownCommand(String)
SqlError(ParserError)
Io(Error)
Trait Implementations§
Source§impl Debug for SQLRiteError
impl Debug for SQLRiteError
Source§impl Display for SQLRiteError
impl Display for SQLRiteError
Source§impl Error for SQLRiteError
impl Error for SQLRiteError
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 SQLRiteError
impl From<Error> for SQLRiteError
Source§impl From<ParserError> for SQLRiteError
impl From<ParserError> for SQLRiteError
Source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SQLRiteError
impl PartialEq for SQLRiteError
Auto Trait Implementations§
impl Freeze for SQLRiteError
impl !RefUnwindSafe for SQLRiteError
impl Send for SQLRiteError
impl Sync for SQLRiteError
impl Unpin for SQLRiteError
impl UnsafeUnpin for SQLRiteError
impl !UnwindSafe for SQLRiteError
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