Exception: Hanami::Model::CheckConstraintViolationError
- Inherits:
-
ConstraintViolationError
- Object
- StandardError
- Error
- ConstraintViolationError
- Hanami::Model::CheckConstraintViolationError
- Defined in:
- lib/hanami/model/error.rb
Overview
Error for Check Constraint Violation raised by Sequel
Instance Method Summary collapse
-
#initialize(message = "Check constraint has been violated") ⇒ CheckConstraintViolationError
constructor
private
A new instance of CheckConstraintViolationError.
Methods inherited from Error
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.
101 102 103 |
# File 'lib/hanami/model/error.rb', line 101 def initialize( = "Check constraint has been violated") super end |