start refactor of ip management
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use derive_more::{Display, Error};
|
||||
|
||||
impl actix_web::error::ResponseError for ReturnedError{}
|
||||
impl actix_web::error::ResponseError for ReturnedError {}
|
||||
|
||||
#[derive(Debug, Display, Error)]
|
||||
#[display(fmt = "my error: {}", name)]
|
||||
#[display("my error: {}", name)]
|
||||
pub struct ReturnedError {
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user