MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / internal

Function internal

nodedb/src/control/server/pgwire/handler/copy_handler.rs:189–194  ·  view source on GitHub ↗
(e: crate::Error)

Source from the content-addressed store, hash-verified

187}
188
189fn internal(e: crate::Error) -> PgWireError {
190 // Surface error string but never echo deserializer context — the
191 // restore orchestrator already scrubs envelope errors. We pass
192 // through everything else (RPC failures, dispatch errors).
193 sqlstate(ss::INTERNAL_ERROR, &e.to_string())
194}

Callers

nothing calls this directly

Calls 2

to_stringMethod · 0.80
sqlstateFunction · 0.70

Tested by

no test coverage detected