iliana / rust-crowbar

Wrapper to simplify writing AWS Lambda functions in Rust (using the Python execution environment)
https://docs.rs/crowbar
Apache License 2.0
197 stars 16 forks source link

error-chain support and python Exception #24

Closed mockersf closed 6 years ago

mockersf commented 6 years ago

added a feature errorchain that switch Error management from a Box<std::error::Error> to error chain

The motivation behind this change was to be able to throw a basic python Exception use by API Gateway Custom Authorizer to return a 401

iliana commented 6 years ago

Thanks! ^_^