Add ApiSystemException class.

This commit is contained in:
Amast 2019-10-31 16:37:00 +08:00
parent 0bb1ea384a
commit 133d8ecfe0
2 changed files with 11 additions and 2 deletions

View File

@ -2,8 +2,6 @@
namespace PdToolKit\Exceptions;
use Throwable;
class ApiInvalidParamException extends ApiException
{
public function __construct($message, Throwable $previous = null)

View File

@ -0,0 +1,11 @@
<?php
namespace PdToolKit\Exceptions;
class ApiSystemException extends ApiException
{
public function __construct($message = "网络波动,稍后再试", Throwable $previous = null)
{
parent::__construct($message, 400000, $previous);
}
}