MCPcopy Create free account
hub / github.com/dada-lang/dada / error

Function error

components/dada-debug/src/error.rs:1–3  ·  view source on GitHub ↗
(e: anyhow::Error)

Source from the content-addressed store, hash-verified

1pub fn error(e: anyhow::Error) -> String {
2 format!("<html><body><h1>Oh geez</h1><p>{e}</p></body></html>")
3}

Callers 15

check_for_duplicatesFunction · 0.85
respond_ok_or_500Function · 0.85
respond_json_or_500Function · 0.85
codegen_main_fnFunction · 0.85
opt_parseMethod · 0.85
into_diagnosticMethod · 0.85
report_duplicate_keywordFunction · 0.85
clear_accumulatedMethod · 0.85
escape_sequenceMethod · 0.85
delimitedMethod · 0.85
report_not_foundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected