pub enum SqlcxError {
Show 13 variants
ConfigNotFound(String),
ConfigInvalid(String),
ParseError {
file: String,
message: String,
},
UnknownType(String),
MissingAnnotation {
file: String,
},
UnknownParser(String),
UnknownLanguage(String),
UnknownSchema(String),
UnknownDriver(String),
Io(Error),
Json(Error),
Toml(Error),
Migrate(String),
}Variants§
ConfigNotFound(String)
ConfigInvalid(String)
ParseError
UnknownType(String)
MissingAnnotation
UnknownParser(String)
UnknownLanguage(String)
UnknownSchema(String)
UnknownDriver(String)
Io(Error)
Json(Error)
Toml(Error)
Migrate(String)
Trait Implementations§
Source§impl Debug for SqlcxError
impl Debug for SqlcxError
Source§impl Display for SqlcxError
impl Display for SqlcxError
Source§impl Error for SqlcxError
impl Error for SqlcxError
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 SqlcxError
impl From<Error> for SqlcxError
Source§impl From<Error> for SqlcxError
impl From<Error> for SqlcxError
Auto Trait Implementations§
impl Freeze for SqlcxError
impl !RefUnwindSafe for SqlcxError
impl Send for SqlcxError
impl Sync for SqlcxError
impl Unpin for SqlcxError
impl UnsafeUnpin for SqlcxError
impl !UnwindSafe for SqlcxError
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