Class: Aws::Connect::Errors::OutboundContactNotPermittedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Connect::Errors::OutboundContactNotPermittedException
- Defined in:
- lib/aws-sdk-connect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OutboundContactNotPermittedException
constructor
A new instance of OutboundContactNotPermittedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OutboundContactNotPermittedException
Returns a new instance of OutboundContactNotPermittedException.
282 283 284 |
# File 'lib/aws-sdk-connect/errors.rb', line 282 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
287 288 289 |
# File 'lib/aws-sdk-connect/errors.rb', line 287 def @message || @data[:message] end |