From c074b37e2b72152741275a199894f83fc95b963f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 19 Mar 2021 15:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/HttpParams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index 4571b2c9..3d759ece 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -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);