Exception: Hanami::Model::CheckConstraintViolationError

Inherits:
ConstraintViolationError show all
Defined in:
lib/hanami/model/error.rb

Overview

Error for Check Constraint Violation raised by Sequel

Since:

  • 0.6.1

Instance Method Summary collapse

Methods inherited from Error

for, mapping, register

Constructor Details

#initialize(message = 'Check constraint has been violated') ⇒ CheckConstraintViolationError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CheckConstraintViolationError.

Since:

  • 0.6.1


99
100
101
# File 'lib/hanami/model/error.rb', line 99

def initialize(message = 'Check constraint has been violated')
  super
end