Skip to content

Commit f916b33

Browse files
committed
Add AttackAttempt error variant
1 parent 53914c1 commit f916b33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ pub enum Error {
5959
/// UTF coding error.
6060
#[error("UTF-8 encoding error")]
6161
Utf8,
62+
/// Attack attempt detected.
63+
#[error("Attack attempt detected")]
64+
AttackAttempt,
6265
/// Invalid URL.
6366
#[error("URL error: {0}")]
6467
Url(#[from] UrlError),

0 commit comments

Comments
 (0)