From 133d8ecfe080e1b6efbf50b8ba5eaf636603c859 Mon Sep 17 00:00:00 2001 From: Amast <17783854897@163.com> Date: Thu, 31 Oct 2019 16:37:00 +0800 Subject: [PATCH] Add ApiSystemException class. --- src/Exceptions/ApiInvalidParamException.php | 2 -- src/Exceptions/ApiSystemException.php | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/Exceptions/ApiSystemException.php diff --git a/src/Exceptions/ApiInvalidParamException.php b/src/Exceptions/ApiInvalidParamException.php index 63cc636..2e96820 100644 --- a/src/Exceptions/ApiInvalidParamException.php +++ b/src/Exceptions/ApiInvalidParamException.php @@ -2,8 +2,6 @@ namespace PdToolKit\Exceptions; -use Throwable; - class ApiInvalidParamException extends ApiException { public function __construct($message, Throwable $previous = null) diff --git a/src/Exceptions/ApiSystemException.php b/src/Exceptions/ApiSystemException.php new file mode 100644 index 0000000..7e21c12 --- /dev/null +++ b/src/Exceptions/ApiSystemException.php @@ -0,0 +1,11 @@ +