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

Function bad_request

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

Source from the content-addressed store, hash-verified

312}
313
314fn bad_request(err: &impl ToString) -> JsonError {
315 (
316 StatusCode::BAD_REQUEST,
317 Json(json!({
318 "detail": err.to_string(),
319 })),
320 )
321}
322
323fn deserialize_command_override_patch<'de, D>(
324 deserializer: D,

Callers 2

patch_settingsFunction · 0.70
refresh_one_reconciledFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected