Something went wrong. Try again.
advent of atproto
Something went wrong. Try again.
1234567891011use atrium_api::xrpc::http::StatusCode;
/// Utility function for mapping any error into a `500 Internal Server Error`/// response.pub fn internal_error<E>(err: E) -> (StatusCode, String)where E: std::error::Error,{ (StatusCode::INTERNAL_SERVER_ERROR, err.to_string())}