Class: Aws::Connect::Errors::DestinationNotAllowedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Connect::Errors::DestinationNotAllowedException
- Defined in:
- lib/aws-sdk-connect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DestinationNotAllowedException
constructor
A new instance of DestinationNotAllowedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DestinationNotAllowedException
Returns a new instance of DestinationNotAllowedException.
143 144 145 |
# File 'lib/aws-sdk-connect/errors.rb', line 143 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
148 149 150 |
# File 'lib/aws-sdk-connect/errors.rb', line 148 def @message || @data[:message] end |