Class: Aws::BedrockRuntime::Errors::ModelNotReadyException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockRuntime::Errors::ModelNotReadyException
- Defined in:
- lib/aws-sdk-bedrockruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelNotReadyException
constructor
A new instance of ModelNotReadyException.
- #message ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelNotReadyException
Returns a new instance of ModelNotReadyException.
108 109 110 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 108 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
113 114 115 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 113 def @message || @data[:message] end |
#retryable? ⇒ Boolean
117 118 119 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 117 def retryable? true end |