(message: impl Into<String>)
| 49 | } |
| 50 | |
| 51 | pub fn resource_exhausted(message: impl Into<String>) -> Self { |
| 52 | Self { |
| 53 | message: message.into(), |
| 54 | resource_exhausted: true, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | #[must_use] |
| 59 | pub fn message(&self) -> &str { |
nothing calls this directly
no outgoing calls
no test coverage detected