|
@@ -124,7 +124,7 @@ pub enum Error {
|
|
|
LogicError(&'static str),
|
|
|
/// Attempted to insert an entity with values that violate a database constraint, probably
|
|
|
/// due to a uniqueness requirement.
|
|
|
- ConstraintViolation(&'static str),
|
|
|
+ ConstraintViolation(String),
|
|
|
/// Sqlite internal error that has not been translated into a more specific error.
|
|
|
Sqlite {
|
|
|
/// SQLite internal error code.
|