class Mongo::Error::InvalidSession
This exception is raised when a session is attempted to be used and it is invalid.
@since 2.5.0
Public Class Methods
new(message)
click to toggle source
Create the new exception.
@example Create the new exception.
InvalidSession.new(message)
@param [ String ] message The error message.
@since 2.5.0
Calls superclass method
Mongo::Error::new
# File lib/mongo/error/invalid_session.rb, line 31 def initialize(message) super(message) end