123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::SessionsNotSupported

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, InvalidSession, Error
Instance Chain:
self, InvalidSession, Error
Inherits: Mongo::Error::InvalidSession
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.

Since:

  • 2.0.0

Class Method Summary

InvalidSession - Inherited

.new

Create the new exception.