Create a server error with an arbitrary status code.
(status: u16, message: impl Into<String>)
| 327 | |
| 328 | /// Create a server error with an arbitrary status code. |
| 329 | pub fn server_error(status: u16, message: impl Into<String>) -> Self { |
| 330 | Self::HttpError { |
| 331 | status, |
| 332 | message: message.into(), |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | /// Check if this is a retryable error. |
| 337 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected