diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-19 09:02:16 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-19 09:02:16 +0100 |
commit | cadb3057d06a38abfac9067cbdc59ce3d926a658 (patch) | |
tree | ac70156a70f5cbd52a4b4d32df1442ab734c4c22 /server/src/routes/ui/error.rs | |
parent | fbc1128f30438a4e18521073eb1bb79a77a7f20d (diff) | |
download | jellything-cadb3057d06a38abfac9067cbdc59ce3d926a658.tar jellything-cadb3057d06a38abfac9067cbdc59ce3d926a658.tar.bz2 jellything-cadb3057d06a38abfac9067cbdc59ce3d926a658.tar.zst |
item page styled
Diffstat (limited to 'server/src/routes/ui/error.rs')
-rw-r--r-- | server/src/routes/ui/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/routes/ui/error.rs b/server/src/routes/ui/error.rs index 0b24b62..1a50796 100644 --- a/server/src/routes/ui/error.rs +++ b/server/src/routes/ui/error.rs @@ -59,3 +59,8 @@ impl From<std::fmt::Error> for MyError { MyError(anyhow::anyhow!("{err}")) } } +impl From<std::io::Error> for MyError { + fn from(err: std::io::Error) -> Self { + MyError(anyhow::anyhow!("{err}")) + } +} |