Class: Aws::WorkMail::Errors::EmailAddressInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkMail::Errors::EmailAddressInUseException
- Defined in:
- lib/aws-sdk-workmail/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EmailAddressInUseException
constructor
A new instance of EmailAddressInUseException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EmailAddressInUseException
Returns a new instance of EmailAddressInUseException.
109 110 111 |
# File 'lib/aws-sdk-workmail/errors.rb', line 109 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
114 115 116 |
# File 'lib/aws-sdk-workmail/errors.rb', line 114 def @message || @data[:message] end |