More derives for types.
Addee new_safe constructor for Interval type
This commit is contained in:
@ -2,7 +2,7 @@ use diesel::result::Error;
|
||||
use thiserror::Error;
|
||||
|
||||
/// Error type for CRUD operations
|
||||
#[derive(Debug, Error)]
|
||||
#[derive(Debug, PartialEq, Error)]
|
||||
pub enum CrudError {
|
||||
#[error("Resource not found")]
|
||||
NotFound,
|
||||
|
Reference in New Issue
Block a user