mirror of https://github.com/rwf2/Rocket.git
parent
e656ec87d7
commit
0930304aad
|
@ -12,3 +12,9 @@ impl Responder<'static> for Failure {
|
||||||
Err(self.0)
|
Err(self.0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl From<Status> for Failure {
|
||||||
|
fn from(status: Status) -> Self {
|
||||||
|
Failure(status)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue