Class: Aws::ChimeSDKMediaPipelines::Errors::ServiceFailureException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ChimeSDKMediaPipelines::Errors::ServiceFailureException
- Defined in:
- lib/aws-sdk-chimesdkmediapipelines/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceFailureException
constructor
A new instance of ServiceFailureException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceFailureException
Returns a new instance of ServiceFailureException.
176 177 178 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 176 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
181 182 183 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 181 def code @code || @data[:code] end |
#message ⇒ String
186 187 188 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 186 def @message || @data[:message] end |
#request_id ⇒ String
191 192 193 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 191 def request_id @data[:request_id] end |