Unverified Commit 6d6d8d14 authored by 82marbag's avatar 82marbag Committed by GitHub
Browse files

Remove MissingHttpStatusCode (#2231)

parent 1fb1a53f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -74,10 +74,6 @@ impl std::error::Error for RequestExtensionNotFoundRejection {}
/// into an HTTP response.
#[derive(Debug, Display)]
pub enum ResponseRejection {
    /// Used when `httpResponseCode` targets an optional member, and the service implementer sets
    /// it to `None`.
    MissingHttpStatusCode,

    /// Used when the service implementer provides an integer outside the 100-999 range for a
    /// member targeted by `httpResponseCode`.
    InvalidHttpStatusCode,