Class: Aws::Organizations::Errors::CreateAccountStatusNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateAccountStatusNotFoundException.

Parameters:



294
295
296
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 294

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

Instance Method Details

#messageString

Returns:

  • (String)


299
300
301
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 299

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