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, model=nil)
click to toggle source
Calls superclass method
# File lib/sequel/model/exceptions.rb, line 8 def initialize(message, model=nil) @model = model super(message) end