This package adds another exceptions to you system.
- UnexpectedTypeException
- JsonParseException
- ViolationListException
- The package symfony/validator should be installed.
- UnexpectedTrait
- Helper for create unexpected exceptions.
Add FiveLab/Exception in your composer.json:
{
"require": {
"fivelab/exception": "~1.0"
}
}
Now tell composer to download the library by running the command:
$ php composer.phar update fivelab/exception