Enum actix_admin::ActixAdminError
source · pub enum ActixAdminError {
InternalError,
ValidationErrors,
ListError,
CreateError,
DeleteError,
EditError,
DatabaseError,
EntityDoesNotExistError,
}Variants§
InternalError
ValidationErrors
ListError
CreateError
DeleteError
EditError
DatabaseError
EntityDoesNotExistError
Trait Implementations§
source§impl Debug for ActixAdminError
impl Debug for ActixAdminError
source§impl Display for ActixAdminError
impl Display for ActixAdminError
source§impl Error for ActixAdminError
impl Error for ActixAdminError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ActixAdminError> for ActixAdminNotification
impl From<ActixAdminError> for ActixAdminNotification
source§fn from(e: ActixAdminError) -> ActixAdminNotification
fn from(e: ActixAdminError) -> ActixAdminNotification
Converts to this type from the input type.
source§impl From<DbErr> for ActixAdminError
impl From<DbErr> for ActixAdminError
source§fn from(_err: DbErr) -> ActixAdminError
fn from(_err: DbErr) -> ActixAdminError
Converts to this type from the input type.
source§impl ResponseError for ActixAdminError
impl ResponseError for ActixAdminError
source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more