Module: AWS::Errors::ExceptionMixinClassMethods

Included in:
ClientError, ServerError
Defined in:
lib/aws/errors.rb

Overview

Provides the ability to instantiate instances of ServerError and ClientError.

Instance Method Summary collapse

Instance Method Details

#new(*args) ⇒ Object



94
95
96
97
98
# File 'lib/aws/errors.rb', line 94

def new(*args)
  e = Base.new(*args)
  e.extend(self)
  e
end