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.
68 69 70 |
# File 'lib/hanami/model/error.rb', line 68 def initialize( = "Unique constraint has been violated") super end |