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