Create a generic error.
(message: impl Into<String>)
| 290 | |
| 291 | /// Create a generic error. |
| 292 | pub fn other(message: impl Into<String>) -> Self { |
| 293 | Self::Other(message.into()) |
| 294 | } |
| 295 | |
| 296 | /// Create an unauthorized (401) error. |
| 297 | pub fn unauthorized(message: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected