Add `AttackAttempt` error variant
This commit is contained in:
parent
53914c1180
commit
f916b332a9
|
@ -59,6 +59,9 @@ pub enum Error {
|
|||
/// UTF coding error.
|
||||
#[error("UTF-8 encoding error")]
|
||||
Utf8,
|
||||
/// Attack attempt detected.
|
||||
#[error("Attack attempt detected")]
|
||||
AttackAttempt,
|
||||
/// Invalid URL.
|
||||
#[error("URL error: {0}")]
|
||||
Url(#[from] UrlError),
|
||||
|
|
Loading…
Reference in New Issue