Class: Aws::QLDBSession::Errors::InvalidSessionException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::QLDBSession::Errors::InvalidSessionException
- Defined in:
- lib/aws-sdk-qldbsession/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSessionException
constructor
A new instance of InvalidSessionException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSessionException
Returns a new instance of InvalidSessionException.
83 84 85 |
# File 'lib/aws-sdk-qldbsession/errors.rb', line 83 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
93 94 95 |
# File 'lib/aws-sdk-qldbsession/errors.rb', line 93 def code @code || @data[:code] end |
#message ⇒ String
88 89 90 |
# File 'lib/aws-sdk-qldbsession/errors.rb', line 88 def @message || @data[:message] end |