Create an HTTP error.
(status: u16, message: impl Into<String>)
| 255 | |
| 256 | /// Create an HTTP error. |
| 257 | pub fn http(status: u16, message: impl Into<String>) -> Self { |
| 258 | Self::HttpError { |
| 259 | status, |
| 260 | message: message.into(), |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | /// Create a timeout error. |
| 265 | pub fn timeout(seconds: u64) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected