Create a not-found (404) error.
(message: impl Into<String>)
| 311 | |
| 312 | /// Create a not-found (404) error. |
| 313 | pub fn not_found(message: impl Into<String>) -> Self { |
| 314 | Self::HttpError { |
| 315 | status: 404, |
| 316 | message: message.into(), |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | /// Create a conflict (409) error. |
| 321 | pub fn conflict(message: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected