Function construct_result_error

Source
pub fn construct_result_error(error: &str, route: &str) -> ApiError
Expand description

Constructs an internal server error response for the API

ยงArguments

  • error - Error message
  • route - Route where the error occurred