Retrieving Error Information
Learn how to retrieve error information from AWS Lambda.
We'll cover the following
Error handling is important for any application, and AWS Lambda is no different. AWS Lambda fully supports a standard way of handling errors for the programming language it’s written in, such as try
/catch
blocks. However, because AWS Lambda functions are typically used in a bigger distributed application that has specialized workflow components for handling errors, they also support other error-handling mechanisms. In this lesson, we’ll look at both ways of handling errors in an AWS Lambda application.
Catching errors in AWS Lambda
Handling errors in an AWS Lambda function can be done the same way as in any other .NET application. The following playground provides an example.
Get hands-on with 1400+ tech skills courses.