(message: impl Into<String>, status_code: u16)
| 131 | |
| 132 | impl ProviderError { |
| 133 | pub fn api_error_with_status(message: impl Into<String>, status_code: u16) -> Self { |
| 134 | ProviderError::ApiErrorWithStatus { |
| 135 | message: message.into(), |
| 136 | status_code, |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | pub fn context_overflow(message: impl Into<String>) -> Self { |
| 141 | ProviderError::ContextOverflow(message.into()) |
nothing calls this directly
no outgoing calls
no test coverage detected