Class: Aws::SageMakerRuntime::Errors::ModelStreamError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SageMakerRuntime::Errors::ModelStreamError
- Defined in:
- lib/aws-sdk-sagemakerruntime/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelStreamError
constructor
A new instance of ModelStreamError.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelStreamError
Returns a new instance of ModelStreamError.
140 141 142 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 140 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
150 151 152 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 150 def error_code @data[:error_code] end |
#message ⇒ String
145 146 147 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 145 def @message || @data[:message] end |