mirror of
https://github.com/Respect/Validation.git
synced 2024-06-28 18:20:07 +02:00
Fixed Exception class in "Informative Exceptions"
The example in the "Informative Exceptions" section uses InvalidArgumentException, which is incorrect as that class does not have a getFullMessage() method. The class that defines getFullMessage() is AbstractNestedException, of which DomainException is a subclass, so I've replaced InvalidArgumentException with that to make the example accurate.
This commit is contained in:
parent
880f02b6bb
commit
a379977b2c
Loading…
Reference in a new issue