mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Make error message more user-friendly
This commit is contained in:
parent
4e5043a3c3
commit
2ca69f4407
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ pub enum ErrorKind {
|
|||
InvalidStatusCode(u16),
|
||||
|
||||
/// The given status code might be considered valid but was rejected as because of the configuration
|
||||
#[error("Rejected status code: {0}")]
|
||||
#[error(r#"Rejected status code: {0} (this depends on your "accept" configuration)"#)]
|
||||
RejectedStatusCode(StatusCode),
|
||||
|
||||
/// Regex error
|
||||
|
|
|
|||
Loading…
Reference in a new issue