this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at flatten-challenge-check 10 lines 283 B view raw
1use atrium_api::xrpc::http::StatusCode; 2 3/// Utility function for mapping any error into a `500 Internal Server Error` 4/// response. 5pub fn internal_error<E>(err: E) -> (StatusCode, String) 6where 7 E: std::error::Error, 8{ 9 (StatusCode::INTERNAL_SERVER_ERROR, err.to_string()) 10}