Exception: Aws::Errors::MissingRegionError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/aws-sdk-core/errors.rb

Overview

Raised when a client is constructed and region is not specified.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MissingRegionError



135
136
137
138
139
# File 'lib/aws-sdk-core/errors.rb', line 135

def initialize(*args)
  msg = "missing region; use :region option or "
  msg << "export region name to ENV['AWS_REGION']"
  super(msg)
end