Raising exceptions in the asynchronous Lambda function