britzl / aws-sdk-lua

Auto generated AWS SDK for Lua
Apache License 2.0
39 stars 10 forks source link

Better error handling #7

Closed SirLynix closed 5 years ago

SirLynix commented 5 years ago

I removed the pprint debug call and fixed error handling by adding a third parameter, so now you have success, error_type, error_message.

I only tested the json part of it.

britzl commented 5 years ago

Thanks!