MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / custom

Method custom

crates/pg/src/encoder.rs:73–75  ·  view source on GitHub ↗
(msg: T)

Source from the content-addressed store, hash-verified

71
72impl ser::Error for PgError {
73 fn custom<T: std::fmt::Display>(msg: T) -> Self {
74 PgError::Other(anyhow::anyhow!(msg.to_string()))
75 }
76}
77
78pub(crate) struct PsqlFormatter<'a> {

Callers

nothing calls this directly

Calls 1

OtherClass · 0.85

Tested by

no test coverage detected