update errors

This commit is contained in:
askiiart 2025-01-26 16:00:42 -06:00
parent f0c24e7313
commit b431079d34
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

View file

@ -2,12 +2,10 @@ use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("io error: {0}")]
#[error("I/O error: {0}")]
IOError(#[from] std::io::Error),
#[error("error while deserializing TOML: {0}")]
DeserError(#[from] toml::de::Error),
#[error("Database error: {0}")]
DatabaseError(String),
#[error("Error connecting to database: {0}")]
DbConnectionError(String),
}