Exception: Aliyun::ESS::InvalidConnectionOption
- Inherits:
-
InvalidOption
- Object
- StandardError
- Exception
- InvalidOption
- Aliyun::ESS::InvalidConnectionOption
- Defined in:
- lib/aliyun/ess/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.
66 67 68 69 70 |
# File 'lib/aliyun/ess/exceptions.rb', line 66 def initialize() = "The following connection options are invalid: #{.join(', ')}. " + "The valid connection options are: #{Connection::Options::VALID_OPTIONS.join(', ')}." super() end |