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

Function validation_error

src/dashboard/settings_api.rs:271–273  ·  view source on GitHub ↗
(field: &str, message: &str)

Source from the content-addressed store, hash-verified

269}
270
271fn validation_error(field: &str, message: &str) -> Value {
272 json!({ "field": field, "message": message })
273}
274
275fn validation_failed(errors: &[Value]) -> JsonError {
276 (

Callers 3

patch_project_settingsFunction · 0.85
patch_user_settingsFunction · 0.85
validate_globsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected