AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Exception: Aws::RailsProvisioner::Errors::InvalidCommandOption

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/aws-rails-provisioner/errors.rb

Instance Method Summary collapse

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