lambda_runtime_errors 0.1.1

Rust runtime errors for AWS Lambda
Documentation

The Lambda runtime errors crate defines the LambdaErrorExt trait that can be used by libriaries to return errors compatible with the AWS Lambda Rust runtime.

This crate also exports the lambda_runtime_errors_derive crate to derive the LambdaErrorExt trait.

use lambda_runtime_errors::*;

// the generated error_type() method returns "crate::LambdaError"
#[derive(LambdaErrorExt)]
struct LambdaError;