mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
uncomment error variant
This commit is contained in:
parent
bfdc29ebb8
commit
442fa279da
@ -35,9 +35,10 @@ pub enum UriSegmentError {
|
|||||||
/// Segment ended with the wrapped invalid character.
|
/// Segment ended with the wrapped invalid character.
|
||||||
#[display(fmt = "segment ended with invalid character: ('{_0}')")]
|
#[display(fmt = "segment ended with invalid character: ('{_0}')")]
|
||||||
BadEnd(char),
|
BadEnd(char),
|
||||||
// /// Path is not a valid UTF-8 string after percent-decoding.
|
|
||||||
// #[display(fmt = "path is not a valid UTF-8 string after percent-decoding")]
|
/// Path is not a valid UTF-8 string after percent-decoding.
|
||||||
// NotValidUtf8,
|
#[display(fmt = "path is not a valid UTF-8 string after percent-decoding")]
|
||||||
|
NotValidUtf8,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ResponseError for UriSegmentError {
|
impl ResponseError for UriSegmentError {
|
||||||
|
Loading…
Reference in New Issue
Block a user