class Mongoid::Errors::InvalidAroundCallback

This error is raised when an around callback is defined by the user without a yield

Public Class Methods

new() click to toggle source

Create the new error.

@api private

Calls superclass method
# File lib/mongoid/errors/invalid_around_callback.rb, line 11
def initialize
  super(compose_message('invalid_around_callback'))
end