class Sequel::BeforeHookFailed

Exception class raised when raise_on_save_failure is set and a before hook returns false or an around hook doesn't call super or yield.

Attributes

model[R]

The Sequel::Model instance related to this error.

Public Class Methods

new(message=nil, model=nil) click to toggle source
Calls superclass method
# File lib/sequel/model/exceptions.rb, line 10
def initialize(message=nil, model=nil)
  @model = model
  super(message)
end