Exception: Mongoid::Errors::InvalidAroundCallback
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidAroundCallback
- Defined in:
- lib/mongoid/errors/invalid_around_callback.rb
Overview
This error is raised when an around callback is defined by the user without a yield
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ InvalidAroundCallback
constructor
private
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ InvalidAroundCallback
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 error.
11 12 13 |
# File 'lib/mongoid/errors/invalid_around_callback.rb', line 11 def initialize super(('invalid_around_callback')) end |