Class: Aws::SageMakerRuntime::Errors::ValidationError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SageMakerRuntime::Errors::ValidationError
- Defined in:
- lib/aws-sdk-sagemakerruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationError
constructor
A new instance of ValidationError.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationError
Returns a new instance of ValidationError.
175 176 177 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 175 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
180 181 182 |
# File 'lib/aws-sdk-sagemakerruntime/errors.rb', line 180 def @message || @data[:message] end |