class Mongoid::Errors::InvalidSessionNesting
This error is raised when a session is attempted to be used with a model whose client already has an opened session.
Public Class Methods
new()
click to toggle source
Create the error.
Calls superclass method
# File lib/mongoid/errors/invalid_session_nesting.rb, line 12 def initialize super(compose_message('invalid_session_nesting')) end