Function internal_error

Source
pub fn internal_error<M>(msg: M) -> Problem
where M: Error + Send + Sync + 'static,
Expand description

Create a Problem instance with no available cause.

This error is meant to be used when an unrecoverable error happens. Here, unrecoverable means errors that upper levels doesn’t have any means to recover from other than retrying the operation or propagating it up.