This maybe a step in the right direction.
This commit is contained in:
@@ -52,12 +52,3 @@ pub enum BearerError {
|
||||
#[error(transparent)]
|
||||
Repository(#[from] RepositoryError),
|
||||
}
|
||||
|
||||
impl crate::error::ClientError for BearerError {
|
||||
fn client_error_message(&self) -> &'static str {
|
||||
match self {
|
||||
BearerError::InvalidCredentials => "Invalid credentials",
|
||||
BearerError::Repository(_) => "Repository error",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user