Class: Aws::WorkMail::Errors::ReservedNameException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ReservedNameException.

Parameters:



334
335
336
# File 'lib/aws-sdk-workmail/errors.rb', line 334

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

Instance Method Details

#messageString

Returns:

  • (String)


339
340
341
# File 'lib/aws-sdk-workmail/errors.rb', line 339

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