diff --git a/src/CliProgram/Validation/Validators/IValidator.php b/src/CliProgram/Validation/Validators/IValidator.php index 97e8256..c395743 100644 --- a/src/CliProgram/Validation/Validators/IValidator.php +++ b/src/CliProgram/Validation/Validators/IValidator.php @@ -23,6 +23,8 @@ interface IValidator { * @param mixed $value The value to validate * * @return bool True if the value is valid, else False + * + * @throws InvalidValueException If the value is not valid (custom error message) */ public function validate (mixed $value): bool; /**