Exception: Amazon::MWS::InvalidConnectionOption
- Inherits:
-
InvalidOption
- Object
- StandardError
- MWSException
- InvalidOption
- Amazon::MWS::InvalidConnectionOption
- Defined in:
- lib/amazon/mws/exceptions.rb
Overview
Raised if an unrecognized option is passed when establishing a connection.
Instance Method Summary collapse
-
#initialize(invalid_options) ⇒ InvalidConnectionOption
constructor
A new instance of InvalidConnectionOption.
Constructor Details
#initialize(invalid_options) ⇒ InvalidConnectionOption
Returns a new instance of InvalidConnectionOption.
57 58 59 60 61 |
# File 'lib/amazon/mws/exceptions.rb', line 57 def initialize() = "The following connection options are invalid: #{.join(', ')}. " + "The valid connection options are: #{Connection::Options::VALID_OPTIONS.join(', ')}." super() end |