diff --git a/Source/API/script/ExceptionHandle/PDOError.php b/Source/API/script/ExceptionHandle/PDOError.php index 9a3295d..4421ac4 100644 --- a/Source/API/script/ExceptionHandle/PDOError.php +++ b/Source/API/script/ExceptionHandle/PDOError.php @@ -13,7 +13,8 @@ class PDOError extends HttpSpecializedException { public function __construct(ServerRequestInterface $request,string $message, ?Throwable $previous = null) { - parent::__construct($request, $message,$previous); + $this->message = $message; + parent::__construct($request, $previous); } } \ No newline at end of file