class Aws::Errors::MissingRegionError

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

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/aws-sdk-core/errors.rb, line 219
def initialize(*args)
  msg = 'No region was provided. Configure the `:region` option or '\
    "export the region name to ENV['AWS_REGION']"
  super(msg)
end