respect-validation/library/Exceptions
Henrique Moody d1f108dc87
Make proper use of exceptions in rules
This commit will ensure that all rules that cannot be created because of
invalid arguments in the constructor will throw the
InvalidRuleConstructorException. It will also make ComponentException
extend LogicException, which makes it easier to determine that the
client has improperly used the library.

I also introduced some tests for two exceptions with logic in their
constructor.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-03-25 22:09:02 +01:00
..
ComponentException.php Make proper use of exceptions in rules 2024-03-25 22:09:02 +01:00
Exception.php Update coding standards 2024-01-28 00:22:41 +01:00
InvalidClassException.php Update coding standards 2024-01-28 00:22:41 +01:00
InvalidRuleConstructorException.php Simplify InvalidRuleConstructorException 2024-03-24 18:06:38 +01:00
MissingComposerDependencyException.php Remove ISO 3166-2 data in favor of PHP ISO codes 2024-02-13 21:53:46 +01:00
ValidationException.php Remove previous validation engine 2024-03-25 12:28:25 +01:00