Add missing trait implementation from HttpErr
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-06 19:01:58 +01:00
parent f6ba983c51
commit 43bbbb94fb

View File

@@ -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 {
fn from(value: std::io::Error) -> Self {
HttpErr::Err(value.into())