This commit is contained in:
2021-03-19 15:45:37 +08:00
parent 66d9f2d659
commit c074b37e2b
+1 -1
View File
@@ -297,7 +297,7 @@ class HttpParams
private function between($_length, $min, $max)
{
if ($min !== NULL && $_length < $min) {
throw new RequestException("The minimum value cannot be lower than $min");
throw new RequestException("The minimum value cannot be lower than $min, has length $_length");
}
if ($max !== NULL && $_length > $max) {
throw new RequestException("Maximum cannot exceed $max, has length " . $_length);