Class: Mongo::Error::SessionsNotSupported
- Inherits:
-
InvalidSession
- Object
- Error
- InvalidSession
- Mongo::Error::SessionsNotSupported
- Defined in:
- lib/mongo/error/sessions_not_supported.rb
Overview
Note:
The subclassing of InvalidSession only exists for backwards compatibility and will be removed in driver version 3.0.
This exception is raised when a session is attempted to be used and the deployment does not support sessions.
Instance Method Summary collapse
-
#initialize(message) ⇒ SessionsNotSupported
constructor
private
Create the new exception.
Constructor Details
#initialize(message) ⇒ SessionsNotSupported
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create the new exception.
30 31 32 |
# File 'lib/mongo/error/sessions_not_supported.rb', line 30 def initialize() super end |