class Mongo::Error::SessionsNotSupported
This exception is raised when a session is attempted to be used and the deployment does not support sessions.
@note The subclassing of InvalidSession
only exists for backwards
compatibility and will be removed in driver version 3.0.
Public Class Methods
new(message)
click to toggle source
Create the new exception.
@param [ String ] message The error message.
@api private
Calls superclass method
Mongo::Error::InvalidSession::new
# File lib/mongo/error/sessions_not_supported.rb, line 30 def initialize(message) super(message) end