Create a forbidden (403) error.
(message: impl Into<String>)
| 303 | |
| 304 | /// Create a forbidden (403) error. |
| 305 | pub fn forbidden(message: impl Into<String>) -> Self { |
| 306 | Self::HttpError { |
| 307 | status: 403, |
| 308 | message: message.into(), |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | /// Create a not-found (404) error. |
| 313 | pub fn not_found(message: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected