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