Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
294541b6
Commit
294541b6
authored
Jul 06, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新了不同异常的解释
parent
136a7412
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
ApiException.php
src/base/ApiException.php
+8
-2
ClientException.php
src/base/ClientException.php
+8
-1
No files found.
src/base/ApiException.php
View file @
294541b6
...
...
@@ -8,8 +8,14 @@
namespace
internalApi\base
;
/**
* 接口异常
*
* 本异常为目标接口业务异常
* 所的目标接口抛出的异常到客户端后均抛出为本异常
*
* @package internalApi\base
*/
class
ApiException
extends
\Exception
{
}
\ No newline at end of file
src/base/ClientException.php
View file @
294541b6
...
...
@@ -8,7 +8,14 @@
namespace
internalApi\base
;
/**
* 客户端异常
*
* 本异常为非业务异常
* 如调用请求发送失败,数据异常,网络异常,接口参数不一致等程序和服务器环境导致的无法正常发送和解析接口的请求问题
*
* @package internalApi\base
*/
class
ClientException
extends
\Exception
{
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment