feat: Enhance error handling by adding Forbidden and Unknown error types

This commit is contained in:
2025-11-15 17:29:58 +01:00
parent a9805b5eb1
commit 3f96de117b
3 changed files with 25 additions and 11 deletions

View File

@@ -23,6 +23,9 @@ pub enum CoreError {
#[error("Authentication failed: {0}")]
Auth(String),
#[error("Forbidden: {0}")]
Forbidden(String),
#[error("An unknown error occurred: {0}")]
Unknown(String),
}