I added a new method that knows to register all custom aws exceptions.