Class: Aws::SageMakerRuntimeHTTP2::Errors::ServiceUnavailableError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SageMakerRuntimeHTTP2::Errors::ServiceUnavailableError
- Defined in:
- gems/aws-sdk-sagemakerruntimehttp2/lib/aws-sdk-sagemakerruntimehttp2/errors.rb
Instance Method Summary collapse
-
#error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableError
constructor
A new instance of ServiceUnavailableError.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableError
Returns a new instance of ServiceUnavailableError.
158 159 160 |
# File 'gems/aws-sdk-sagemakerruntimehttp2/lib/aws-sdk-sagemakerruntimehttp2/errors.rb', line 158 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
168 169 170 |
# File 'gems/aws-sdk-sagemakerruntimehttp2/lib/aws-sdk-sagemakerruntimehttp2/errors.rb', line 168 def error_code @data[:error_code] end |
#message ⇒ String
163 164 165 |
# File 'gems/aws-sdk-sagemakerruntimehttp2/lib/aws-sdk-sagemakerruntimehttp2/errors.rb', line 163 def @message || @data[:message] end |