MCPcopy Create free account
hub / github.com/1jehuang/jcode / code

Method code

crates/jcode-base/src/subscription_api.rs:157–163  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

155
156impl ErrorEnvelope {
157 fn code(&self) -> Option<String> {
158 match &self.error {
159 Some(ErrorField::Code(code)) => Some(code.clone()),
160 Some(ErrorField::Object { code }) => code.clone(),
161 None => self.status.clone(),
162 }
163 }
164}
165
166#[derive(Debug, Deserialize)]

Callers 9

handle_input_shellFunction · 0.80
execute_foregroundMethod · 0.80
execute_backgroundMethod · 0.80
spawn_with_graceFunction · 0.80
stream_build_commandMethod · 0.80
error_codeFunction · 0.80
run_pre_tool_gateFunction · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected