pub fn InternalServerError(err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::INTERNAL_SERVER_ERROR.
Error
StatusCode::INTERNAL_SERVER_ERROR