Exception: Aws::RailsProvisioner::Errors::InvalidCommandOption
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Aws::RailsProvisioner::Errors::InvalidCommandOption
- Defined in:
- lib/aws-rails-provisioner/errors.rb
Instance Method Summary collapse
-
#initialize(type, option) ⇒ InvalidCommandOption
constructor
A new instance of InvalidCommandOption.
Constructor Details
#initialize(type, option) ⇒ InvalidCommandOption
Returns a new instance of InvalidCommandOption.
8 9 10 11 |
# File 'lib/aws-rails-provisioner/errors.rb', line 8 def initialize(type, option) msg = "invalid option: #{option}, #{option} is valid for `#{type}` command." super(msg) end |