loom_evm_utils::error_handler

Function internal_error

Source
pub fn internal_error<E>(err: E) -> (StatusCode, String)
where E: Error,
Expand description

Utility function for mapping any error into a 500 Internal Server Error response.