diff --git a/src/exceptions/DirectAccountNotExistException.php b/src/exceptions/DirectAccountNotExistException.php index 4df0b40..a3cae75 100644 --- a/src/exceptions/DirectAccountNotExistException.php +++ b/src/exceptions/DirectAccountNotExistException.php @@ -3,9 +3,7 @@ namespace directapi\exceptions; -use Exception; - -class DirectAccountNotExistException extends Exception +class DirectAccountNotExistException extends DirectApiException { public $error_detail; diff --git a/src/exceptions/DirectApiNotEnoughUnitsException.php b/src/exceptions/DirectApiNotEnoughUnitsException.php index 4523bab..96c2542 100644 --- a/src/exceptions/DirectApiNotEnoughUnitsException.php +++ b/src/exceptions/DirectApiNotEnoughUnitsException.php @@ -3,7 +3,7 @@ namespace directapi\exceptions; -class DirectApiNotEnoughUnitsException extends \Exception +class DirectApiNotEnoughUnitsException extends DirectApiException { public $error_detail;