Class: Aws::Neptunedata::Errors::ServerShutdownException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::ServerShutdownException
- 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) ⇒ ServerShutdownException
constructor
A new instance of ServerShutdownException.
-
#request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServerShutdownException
Returns a new instance of ServerShutdownException.
1014 1015 1016 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1014 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
1035 1036 1037 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1035 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.
1021 1022 1023 1024 1025 1026 1027 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1021 def (**kwargs) if kwargs.empty? @data[:detailed_message] else super end end |
#request_id ⇒ String
1030 1031 1032 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 1030 def request_id @data[:request_id] end |