MCPcopy Index your code
hub / github.com/aws/aws-lambda-rust-runtime / init_error

Function init_error

lambda-extension/src/requests.rs:103–109  ·  view source on GitHub ↗

Create a new init error request to send to the Extensions API

(
    extension_id: &str,
    error_type: &str,
    request: Option<ErrorRequest<'_>>,
)

Source from the content-addressed store, hash-verified

101
102/// Create a new init error request to send to the Extensions API
103pub fn init_error(
104 extension_id: &str,
105 error_type: &str,
106 request: Option<ErrorRequest<'_>>,
107) -> Result<Request<Body>, Error> {
108 error_request("init", extension_id, error_type, request)
109}
110
111/// Create a new exit error request to send to the Extensions API
112pub fn exit_error(

Callers 1

runMethod · 0.85

Calls 1

error_requestFunction · 0.85

Tested by

no test coverage detected