Class: Aws::WorkMail::Errors::MailDomainInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkMail::Errors::MailDomainInUseException
- Defined in:
- lib/aws-sdk-workmail/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MailDomainInUseException
constructor
A new instance of MailDomainInUseException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MailDomainInUseException
Returns a new instance of MailDomainInUseException.
244 245 246 |
# File 'lib/aws-sdk-workmail/errors.rb', line 244 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
249 250 251 |
# File 'lib/aws-sdk-workmail/errors.rb', line 249 def @message || @data[:message] end |