remove an unused error handling file

This commit is contained in:
Tamo 2022-12-20 16:32:51 +01:00
parent d8fb506c92
commit 52aa34d984
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
3 changed files with 4 additions and 47 deletions

View file

@ -19,9 +19,9 @@ pub enum Error {
impl ErrorCode for Error {
fn error_code(&self) -> Code {
match self {
// Are these three really Internal errors?
// TODO look at that later.
Error::Io(_) => Code::Internal,
Error::Io(e) => e.error_code(),
// These error come from an internal mis
Error::Serde(_) => Code::Internal,
Error::Uuid(_) => Code::Internal,