aws-lambda-swift icon indicating copy to clipboard operation
aws-lambda-swift copied to clipboard

Handle errors

Open tonisuter opened this issue 6 years ago • 1 comments

From https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html:

Handle errors – If an error occurs, call the invocation error API.

tonisuter avatar Dec 20 '18 20:12 tonisuter

Hey @tonisuter!

Thank you for building this, is amazing! I wanted to help with this issue but it seems that you already got it done:

https://github.com/tonisuter/aws-lambda-swift/blob/21149409a090c49cfedf3196df4287a6b7af9e45/Sources/AWSLambdaSwift/Runtime.swift#L65

Is that correct? Otherwise please point me in the right direction and I will submit a PR

NSCoder avatar Feb 04 '19 21:02 NSCoder