Class: Aws::PinpointSMSVoice::Errors::InternalServiceErrorException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PinpointSMSVoice::Errors::InternalServiceErrorException
- Defined in:
- lib/aws-sdk-pinpointsmsvoice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServiceErrorException
constructor
A new instance of InternalServiceErrorException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServiceErrorException
Returns a new instance of InternalServiceErrorException.
78 79 80 |
# File 'lib/aws-sdk-pinpointsmsvoice/errors.rb', line 78 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
83 84 85 |
# File 'lib/aws-sdk-pinpointsmsvoice/errors.rb', line 83 def @message || @data[:message] end |