Class: Iry::ConstraintViolation
- Inherits:
-
ActiveRecord::RecordInvalid
- Object
- ActiveRecord::RecordInvalid
- Iry::ConstraintViolation
- Includes:
- Error
- Defined in:
- lib/iry.rb
Overview
Raised when constraints have been violated and have been converted to model errors, on ActiveRecord::Base#save! calls, to simulate a behavior similar to ActiveRecord::RecordInvalid when it’s raised