Exception: Hanami::Model::ForeignKeyConstraintViolationError
- Inherits:
-
ConstraintViolationError
- Object
- StandardError
- Error
- ConstraintViolationError
- Hanami::Model::ForeignKeyConstraintViolationError
- Defined in:
- lib/hanami/model/error.rb
Overview
Error for Foreign Key Constraint Violation
Instance Method Summary collapse
-
#initialize(message = "Foreign key constraint has been violated") ⇒ ForeignKeyConstraintViolationError
constructor
private
A new instance of ForeignKeyConstraintViolationError.
Methods inherited from Error
Constructor Details
#initialize(message = "Foreign key constraint has been violated") ⇒ ForeignKeyConstraintViolationError
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 ForeignKeyConstraintViolationError.
79 80 81 |
# File 'lib/hanami/model/error.rb', line 79 def initialize( = "Foreign key constraint has been violated") super end |