Skip to content

Commit

Permalink
Add AttackAttempt error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
agalakhov committed Sep 22, 2023
1 parent 53914c1 commit f916b33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f916b33

Please sign in to comment.