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

Function internal_error

src/dashboard/code_diagnostics_api.rs:335–340  ·  view source on GitHub ↗
(err: &impl ToString)

Source from the content-addressed store, hash-verified

333}
334
335fn internal_error(err: &impl ToString) -> JsonError {
336 (
337 StatusCode::INTERNAL_SERVER_ERROR,
338 Json(http_detail(&err.to_string())),
339 )
340}

Callers 3

patch_settingsFunction · 0.70
refresh_one_reconciledFunction · 0.70

Calls 1

http_detailFunction · 0.85

Tested by

no test coverage detected