class Sequel::HookFailed

Exception class raised when raise_on_save_failure is set and an action is canceled in a hook. or an around hook doesn’t 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
10 def initialize(message=nil, model=nil)
11   @model = model
12   super(message)
13 end