MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / code

Method code

crates/cargo-lambda-invoke/src/error.rs:39–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

37
38impl Diagnostic for RemoteInvokeError {
39 fn code(&self) -> Option<Box<dyn std::fmt::Display>> {
40 let c = self.code.trim_start_matches('&');
41 Some(Box::new(c.to_string()))
42 }
43}
44
45impl TryFrom<&str> for RemoteInvokeError {

Callers 3

runFunction · 0.80
try_assume_roleFunction · 0.80
create_functionFunction · 0.80

Calls 1

newFunction · 0.85

Tested by

no test coverage detected