MCPcopy Create free account
hub / github.com/BitVM/BitVM / error_response

Function error_response

bridge/src/client/cli/validation.rs:90–92  ·  view source on GitHub ↗
(err: String)

Source from the content-addressed store, hash-verified

88}
89
90fn error_response(err: String) -> Response {
91 Response::new(ResponseStatus::NOK(err.to_string()), None)
92}

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected