onemightyroar/PHP-ActiveRecord-Components — pull request #14 by Rican7 (2014-12-02 16:29:45+00:00)
Title: Feature - Validation exception factory method

This PR adds a new static factory method to more easily create ActiveRecordValidationException instances by passing in a validated model instance

This makes it much easier to do the 99% case when creating these kind of exceptions.

PR #13 gave me this quick idea.