Class: Stackup::MainCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/stackup/main_command.rb

Defined Under Namespace

Modules: HasParameters

Instance Method Summary collapse

Instance Method Details

#run(arguments) ⇒ Object



53
54
55
56
57
58
59
60
61
62
63
# File 'lib/stackup/main_command.rb', line 53

def run(arguments)
  super(arguments)
rescue Stackup::Source::ReadError => e
  signal_error e.message
rescue Stackup::ServiceError => e
  signal_error e.message
rescue Aws::Errors::MissingCredentialsError
  signal_error "no credentials provided"
rescue Aws::Errors::ServiceError => e
  signal_error e.message
end