mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
relax InternalError constraints
This commit is contained in:
@ -116,8 +116,7 @@ specific error response. We can use helper types for first example with custom e
|
||||
#[macro_use] extern crate failure;
|
||||
use actix_web::*;
|
||||
|
||||
#[derive(Fail, Debug)]
|
||||
#[fail(display="Error {}", name)]
|
||||
#[derive(Debug)]
|
||||
struct MyError {
|
||||
name: &'static str
|
||||
}
|
||||
|
Reference in New Issue
Block a user