blob: f7b9e80348c8843691811c3837768eb6cf2cfb9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
pub mod client;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum AuthServiceError {
#[error("invalid url provided")]
InvalidUrl(#[from] url::ParseError),
#[error("the data for key `{0}` is not available")]
Redaction(String),
#[error("invalid header (expected {expected:?}, found {found:?})")]
InvalidHeader { expected: String, found: String },
#[error("unknown data store error")]
Unknown,
}
|