Enum mentat_db::errors::DbErrorKind
[−]
[src]
Variants
NotYetImplemented(String)
We're just not done yet. Message that the feature is recognized but not yet implemented.
BadValuePair(String, ValueType)
We've been given a value that isn't the correct Mentat type.
BadSQLValuePair(Value, i32)
We've got corrupt data in the SQL store: a value and value_type_tag don't line up. TODO _1.data_type()
BadBootstrapDefinition(String)
A bootstrap definition couldn't be parsed or installed. This is a programmer error, not a runtime error.
BadSchemaAssertion(String)
A schema assertion couldn't be parsed.
UnrecognizedIdent(String)
An ident->entid mapping failed.
UnrecognizedEntid(Entid)
An entid->ident mapping failed. We also use this error if you try to transact an entid that we didn't allocate, in part because we blow the stack in error_chain if we define a new enum!
UnknownAttribute(Entid)
CannotCacheNonUniqueAttributeInReverse(Entid)
SchemaAlterationFailed(String)
SchemaConstraintViolation(SchemaConstraintViolation)
A transaction tried to violate a constraint of the schema of the Mentat store.
InputError(InputError)
The transaction was malformed in some way (that was not recognized at parse time; for example, in a way that is schema-dependent).
WrongTypeValueForFtsAssertion
CacheUpdateFailed
CouldNotSetVersionPragma
CouldNotGetVersionPragma
CouldNotSearch
TxInsertFailedToAddMissingDatoms
TxInsertFailedToRetractDatoms
DatomsUpdateFailedToRetract
DatomsUpdateFailedToAdd
FailedToCreateTempTables
NonFtsInsertionIntoTempSearchTableFailed
FtsInsertionFailed
FtsInsertionIntoTempSearchTableFailed
FtsFailedToDropSearchIds
FailedToUpdatePartitionMap
RusqliteError(String)
Trait Implementations
impl From<DbErrorKind> for DbError
[src]
[+]
impl From<DbErrorKind> for DbError
impl Clone for DbErrorKind
[src]
[+]
impl Clone for DbErrorKind
impl PartialEq for DbErrorKind
[src]
[+]
impl PartialEq for DbErrorKind
impl Debug for DbErrorKind
[src]
[+]
impl Debug for DbErrorKind
impl Fail for DbErrorKind
[src]
[+]
impl Fail for DbErrorKind
impl Display for DbErrorKind
[src]
[+]
impl Display for DbErrorKind
Auto Trait Implementations
impl Send for DbErrorKind
impl Send for DbErrorKind
impl Sync for DbErrorKind
impl Sync for DbErrorKind