Class: Aws::CloudDirectory::Errors::DirectoryNotDisabledException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DirectoryNotDisabledException.

Parameters:



162
163
164
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 162

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

Instance Method Details

#messageString

Returns:

  • (String)


167
168
169
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 167

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