Class: Aws::BedrockRuntime::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockRuntime::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-bedrockruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
213 214 215 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 213 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
218 219 220 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 218 def @message || @data[:message] end |