MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / message

Method message

compiler/src/util/fstr.rs:75–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

73
74impl E {
75 pub fn message(&self) -> alloc::string::String {
76 match self {
77 Self::Custom { msg } => msg.clone(),
78 }
79 }
80}
81
82impl From<E> for alloc::string::String { fn from(e: E) -> Self { e.message() } }

Callers 1

fromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected