pub enum OrmdanticError {
Show 17 variants
MissingPrimaryKeyAlias {
tablename: String,
primary_key: String,
},
DuplicateTable {
tablename: String,
},
DuplicateColumn {
tablename: String,
column: String,
},
MissingPrimaryKey {
tablename: String,
primary_key: String,
},
UnknownTable {
tablename: String,
},
InvalidRelationship {
table: String,
field: String,
target_table: String,
},
UnsupportedDialect {
dialect: String,
},
InvalidIdentifier {
identifier: String,
},
UnsupportedFeature {
feature: String,
dialect: String,
},
TransactionError {
message: String,
},
ReflectionError {
message: String,
},
MigrationError {
message: String,
},
SchemaDiffError {
message: String,
},
UnitOfWorkError {
message: String,
},
EventError {
message: String,
},
ExecutionError {
kind: ExecutionErrorKind,
message: String,
},
SqlCompile {
message: String,
},
}Variants§
MissingPrimaryKeyAlias
DuplicateTable
DuplicateColumn
MissingPrimaryKey
UnknownTable
InvalidRelationship
UnsupportedDialect
InvalidIdentifier
UnsupportedFeature
TransactionError
ReflectionError
MigrationError
SchemaDiffError
UnitOfWorkError
EventError
ExecutionError
SqlCompile
Trait Implementations§
Source§impl Clone for OrmdanticError
impl Clone for OrmdanticError
Source§fn clone(&self) -> OrmdanticError
fn clone(&self) -> OrmdanticError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrmdanticError
impl Debug for OrmdanticError
Source§impl Display for OrmdanticError
impl Display for OrmdanticError
impl Eq for OrmdanticError
Source§impl Error for OrmdanticError
impl Error for OrmdanticError
1.30.0 · 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 PartialEq for OrmdanticError
impl PartialEq for OrmdanticError
impl StructuralPartialEq for OrmdanticError
Auto Trait Implementations§
impl Freeze for OrmdanticError
impl RefUnwindSafe for OrmdanticError
impl Send for OrmdanticError
impl Sync for OrmdanticError
impl Unpin for OrmdanticError
impl UnsafeUnpin for OrmdanticError
impl UnwindSafe for OrmdanticError
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