Add missing trait implementation from HttpErr
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -55,6 +55,12 @@ impl From<Box<dyn Error>> for HttpErr {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl From<light_openid::errors::OpenIdError> for HttpErr {
|
||||||
|
fn from(value: light_openid::errors::OpenIdError) -> Self {
|
||||||
|
HttpErr::Err(std::io::Error::other(value.to_string()).into())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl From<std::io::Error> for HttpErr {
|
impl From<std::io::Error> for HttpErr {
|
||||||
fn from(value: std::io::Error) -> Self {
|
fn from(value: std::io::Error) -> Self {
|
||||||
HttpErr::Err(value.into())
|
HttpErr::Err(value.into())
|
||||||
|
|||||||
Reference in New Issue
Block a user