2 releases

0.1.1 May 3, 2019
0.1.0 Jan 25, 2019
Download history 331/week @ 2024-07-26 289/week @ 2024-08-02 430/week @ 2024-08-09 339/week @ 2024-08-16 353/week @ 2024-08-23 349/week @ 2024-08-30 257/week @ 2024-09-06 309/week @ 2024-09-13 320/week @ 2024-09-20 291/week @ 2024-09-27 180/week @ 2024-10-04 204/week @ 2024-10-11 237/week @ 2024-10-18 280/week @ 2024-10-25 286/week @ 2024-11-01 174/week @ 2024-11-08

1,026 downloads per month
Used in 23 crates (3 directly)

Apache-2.0

20KB
442 lines

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;

Dependencies

~3MB
~69K SLoC