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

Method message

wasm-pdk/src/lib.rs:111–117  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

109
110impl Error {
111 pub fn message(&self) -> &str {
112 match self {
113 Self::Type(s) | Self::Value(s) | Self::Runtime(s)
114 | Self::Attribute(s) | Self::Index(s) | Self::Key(s) => s,
115 Self::Custom { message, .. } => message,
116 }
117 }
118 pub fn kind(&self) -> u32 {
119 match self {
120 Self::Type(_) => 0,

Callers 2

stash_errorFunction · 0.45
iter_nextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected