From the course: Java: Serverless Applications on AWS

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Error handling implementation

Error handling implementation

- Error handling is critical to ensure the application is functioning properly. In this video, we're going to cover different topics around error handling in the Lambda platform. We can split Lambda errors in two categories. First category is function errors. Those are errors that appear within the code. The other type of errors are invocation errors. Invocation errors occur when the invocation request is rejected before your function receives it. Common function errors would be, exceptions that are not captured and are thrown out of the handler function. Runtime terminated because it ran out of time. Detected syntax error or failed to deserialize object to JSON. Common invocation errors are Requests, requests too large or invalid JSON and function doesn't exist or parameter value is in wrong type. Caller, user or service doesn't have permissions to invoke the function. Account, maximum number of function…

Contents