Class: Aws::SageMakerRuntime::Errors::ModelError

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-sagemakerruntime/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelError

Returns a new instance of ModelError.

Parameters:



95
96
97
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 95

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#log_stream_arnString

Returns:

  • (String)


115
116
117
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 115

def log_stream_arn
  @data[:log_stream_arn]
end

#messageString

Returns:

  • (String)


100
101
102
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 100

def message
  @message || @data[:message]
end

#original_messageString

Returns:

  • (String)


110
111
112
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 110

def original_message
  @data[:original_message]
end

#original_status_codeString

Returns:

  • (String)


105
106
107
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 105

def original_status_code
  @data[:original_status_code]
end