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, line 9
def initialize(message=nil, model=nil)
  @model = model
  super(message)
end