pub fn construct_result_error(error: &str, route: &str) -> ApiError
Constructs an internal server error response for the API
error
route