diff --git a/Source/API/script/ExceptionHandle/TypeErrorMethod.php b/Source/API/script/ExceptionHandle/TypeErrorMethod.php index d5450ec..8e62105 100644 --- a/Source/API/script/ExceptionHandle/TypeErrorMethod.php +++ b/Source/API/script/ExceptionHandle/TypeErrorMethod.php @@ -9,8 +9,8 @@ use Throwable; class TypeErrorMethod extends HttpSpecializedException { protected $code = 400; - protected string $title = "Method is not specified"; - protected $message = "Bad Parameters, The API need a 'method' args in URL. Exemple :'http://url/api/getSomething'"; + protected string $title = "Method query params is not specified"; + protected $message = "Bad Parameters, The API need a 'method' query params in URL. Exemple :'http://url?method=getSomething'"; public function __construct(ServerRequestInterface $request,?Throwable $previous = null) {