I am using the npm vogels package, which is built on the main aws-sdk package for accessing all AWS services, including DynamoDB.
I'm trying to get good error handling when the connection cannot be made (wrong credentials, etc), but currently the vogels queries just hang indefinitely when I intentionally break my connection parameters. I don't see any connection error handling API available, but ideally I'd like to bind an error
event handler or similar so when I cannot connect, the program does not simply hang.