Commit 294541b6 authored by 杨培's avatar 杨培

更新了不同异常的解释

parent 136a7412
...@@ -8,8 +8,14 @@ ...@@ -8,8 +8,14 @@
namespace internalApi\base; namespace internalApi\base;
/**
* 接口异常
*
* 本异常为目标接口业务异常
* 所的目标接口抛出的异常到客户端后均抛出为本异常
*
* @package internalApi\base
*/
class ApiException extends \Exception class ApiException extends \Exception
{ {
} }
\ No newline at end of file
...@@ -8,7 +8,14 @@ ...@@ -8,7 +8,14 @@
namespace internalApi\base; namespace internalApi\base;
/**
* 客户端异常
*
* 本异常为非业务异常
* 如调用请求发送失败,数据异常,网络异常,接口参数不一致等程序和服务器环境导致的无法正常发送和解析接口的请求问题
*
* @package internalApi\base
*/
class ClientException extends \Exception class ClientException extends \Exception
{ {
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment