Class: Aws::Neptunedata::Errors::FailureByQueryException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::FailureByQueryException
- Defined in:
- gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb
Instance Method Summary collapse
-
#code ⇒ String
-
#detailed_message(**kwargs) ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FailureByQueryException
constructor
A new instance of FailureByQueryException.
-
#request_id ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FailureByQueryException
Returns a new instance of FailureByQueryException.
378 379 380 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 378 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
399 400 401 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 399 def code @code || @data[:code] end |
#detailed_message(**kwargs) ⇒ String
Note:
This member shadows Exception#detailed_message on Ruby 3.2+.
Use error.data.detailed_message to access the API member directly.
385 386 387 388 389 390 391 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 385 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
394 395 396 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 394 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
403 404 405 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 403 def retryable? true end |