Create a new streaming error from any error type
(error: E)
| 317 | impl StreamingError { |
| 318 | /// Create a new streaming error from any error type |
| 319 | pub fn new<E: Into<BoxError>>(error: E) -> Self { |
| 320 | Self { inner: error.into(), kind: StreamingErrorKind::Other } |
| 321 | } |
| 322 | |
| 323 | /// Create a streaming error with a specific kind |
| 324 | pub fn with_kind<E: Into<BoxError>>( |
nothing calls this directly
no outgoing calls
no test coverage detected