From 06f08c94d324d5dd8aee3021b18e1e1def57325b Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Thu, 16 Feb 2023 19:49:39 +0200 Subject: [PATCH] Update epp.php --- epp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epp.php b/epp.php index 9efbdf1..b7f376b 100644 --- a/epp.php +++ b/epp.php @@ -1990,7 +1990,7 @@ function write($xml, $action = 'Unknown') $r = simplexml_load_string($this->readResponse()); _epp_modulelog($xml, $r, $action); if (isset($r->response) && $r->response->result->attributes()->code >= 2000) { - throw new EppException($r->response->result->msg); + throw new exception($r->response->result->msg); } return $r; }