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.

Class: Aws::Mgn::Errors::UninitializedAccountException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UninitializedAccountException

Returns a new instance of UninitializedAccountException.

Parameters:



179
180
181
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 179

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#codeString

Returns:

  • (String)


184
185
186
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 184

def code
  @code || @data[:code]
end

#messageString

Returns:

  • (String)


189
190
191
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 189

def message
  @message || @data[:message]
end