NewConstraintViolationError creates a new constraint violation error.
(constraintName, message string)
| 39 | |
| 40 | // NewConstraintViolationError creates a new constraint violation error. |
| 41 | func NewConstraintViolationError(constraintName, message string) error { |
| 42 | return &ConstraintViolationError{ |
| 43 | ConstraintName: constraintName, |
| 44 | Message: message, |
| 45 | } |
| 46 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…