Class: Aws::PinpointSMSVoiceV2::Errors::InternalServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PinpointSMSVoiceV2::Errors::InternalServerException
- Defined in:
- lib/aws-sdk-pinpointsmsvoicev2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
constructor
A new instance of InternalServerException.
- #message ⇒ String
- #request_id ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalServerException
Returns a new instance of InternalServerException.
99 100 101 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 99 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
104 105 106 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 104 def @message || @data[:message] end |
#request_id ⇒ String
109 110 111 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 109 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
113 114 115 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 113 def retryable? true end |