Class: Aws::SageMakerRuntime::Errors::ModelError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SageMakerRuntime::Errors::ModelError
- Defined in:
- lib/aws-sdk-sagemakerruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelError
constructor
A new instance of ModelError.
- #log_stream_arn ⇒ String
- #message ⇒ String
- #original_message ⇒ String
- #original_status_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelError
Returns a new instance of ModelError.
95 96 97 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 95 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#log_stream_arn ⇒ String
115 116 117 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 115 def log_stream_arn @data[:log_stream_arn] end |
#message ⇒ String
100 101 102 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 100 def @message || @data[:message] end |
#original_message ⇒ String
110 111 112 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 110 def @data[:original_message] end |
#original_status_code ⇒ String
105 106 107 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 105 def original_status_code @data[:original_status_code] end |