MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / internal_error

Function internal_error

src/dashboard/settings_api.rs:304–309  ·  view source on GitHub ↗
(err: &impl ToString)

Source from the content-addressed store, hash-verified

302}
303
304fn internal_error(err: &impl ToString) -> JsonError {
305 (
306 StatusCode::INTERNAL_SERVER_ERROR,
307 Json(http_detail(&err.to_string())),
308 )
309}

Callers 3

patch_project_settingsFunction · 0.70
patch_user_settingsFunction · 0.70
settings_payloadFunction · 0.70

Calls 1

http_detailFunction · 0.85

Tested by

no test coverage detected