Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good error message for providing unwanted parameters #5

Open
bittrance opened this issue Jan 12, 2017 · 0 comments
Open

Good error message for providing unwanted parameters #5

bittrance opened this issue Jan 12, 2017 · 0 comments

Comments

@bittrance
Copy link
Collaborator

The current strategy risks providing unwanted parameters, which annoys the aws-sdk. We should handle this case properly and provide a good error message (and no traceback).

Error:
Parameter values specified for a template which does not require them.
/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call'
	/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/aws-sdk-core/plugins/idempotency_token.rb:18:in `call'
	/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/aws-sdk-core/plugins/param_converter.rb:20:in `call'
	/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/seahorse/client/plugins/response_target.rb:21:in `call'
	/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/seahorse/client/request.rb:70:in `send_request'
	/Users/quest/projects/personal/cuffsert/vendor/bundle/ruby/2.0.0/gems/aws-sdk-core-2.6.42/lib/seahorse/client/base.rb:207:in `block (2 levels) in define_operation_methods'
	/Users/quest/projects/personal/cuffsert/lib/cuffsert/rxcfclient.rb:27:in `block in create_stack'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant