respect-validation/library/Exceptions
Henrique Moody dd896bb12d
Move template definitions to the rules
It's easier to identify the reason for choosing a specific message in
the rule than in the exception. The same goes for the key we use to
determine the templates.

This change will simplify the `ValidationException` because it will
already receive the template it needs to use. As a consequence, the
`Factory` also becomes more straightforward.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-01-29 23:17:27 +01:00
..
AllOfException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
AlnumException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
AlphaException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
AlwaysInvalidException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
AlwaysValidException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
AnyOfException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ArrayTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ArrayValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
Base64Exception.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
BaseException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
BetweenException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
BoolTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
BoolValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
BsnException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CallableTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CallbackException.php Update coding standards 2024-01-28 00:22:41 +01:00
CallException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CharsetException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CnhException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CnpjException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ComponentException.php Update coding standards 2024-01-28 00:22:41 +01:00
ConsonantException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ContainsAnyException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ContainsException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ControlException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CountableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CountryCodeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CpfException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CreditCardException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
CurrencyCodeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DateException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DateTimeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DecimalException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DigitException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DirectoryException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
DomainException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EachException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EmailException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EndsWithException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EqualsException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EquivalentException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
EvenException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
Exception.php Update coding standards 2024-01-28 00:22:41 +01:00
ExecutableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ExistsException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ExtensionException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FactorException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FalseValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FibonacciException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FileException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FilteredValidationException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FilterVarException.php Update coding standards 2024-01-28 00:22:41 +01:00
FiniteException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FloatTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
FloatValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
GraphException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
GreaterThanException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
GroupedValidationException.php Refactor "AbstractComposite" class 2024-01-28 03:59:23 +01:00
HexRgbColorException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IbanException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IdenticalException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ImageException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ImeiException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
InException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
InfiniteException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
InstanceException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IntTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IntValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
InvalidClassException.php Update coding standards 2024-01-28 00:22:41 +01:00
IpException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IsbnException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
IterableTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
JsonException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
KeyException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
KeyNestedException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
KeySetException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
KeyValueException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LanguageCodeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LeapDateException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LeapYearException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LengthException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LessThanException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LowercaseException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
LuhnException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MacAddressException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MaxAgeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MaxException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MimetypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MinAgeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MinException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
MultipleException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NegativeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NestedValidationException.php Update coding standards 2024-01-28 00:22:41 +01:00
NfeAccessKeyException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NifException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NipException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NoException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NoneOfException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NonOmissibleException.php Update coding standards 2024-01-28 00:22:41 +01:00
NotBlankException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NotEmojiException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NotEmptyException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NotException.php Update coding standards 2024-01-28 00:22:41 +01:00
NotOptionalException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NoWhitespaceException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NullableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NullTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NumberException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
NumericValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ObjectTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
OddException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
OneOfException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
OptionalException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PerfectSquareException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PeselException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PhoneException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PhpLabelException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PisException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PolishIdCardException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PortugueseNifException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PositiveException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PostalCodeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PrimeNumberException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PrintableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PropertyException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PublicDomainSuffixException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
PunctException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ReadableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
RecursiveExceptionIterator.php Make properties readonly 2024-01-28 01:24:15 +01:00
RegexException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ResourceTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
RomanException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ScalarValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SizeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SlugException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SortedException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SpaceException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
StartsWithException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
StringTypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
StringValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SubdivisionCodeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SubsetException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
SymbolicLinkException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
TimeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
TldException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
TrueValException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
TypeException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
UniqueException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
UploadedException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
UppercaseException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
UrlException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
UuidException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ValidationException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
ValidatorException.php Update coding standards 2024-01-28 00:22:41 +01:00
VersionException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
VideoUrlException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
VowelException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
WhenException.php Update coding standards 2024-01-28 00:22:41 +01:00
WritableException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
XdigitException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00
YesException.php Move template definitions to the rules 2024-01-29 23:17:27 +01:00