mirror of
https://github.com/w7corp/easywechat.git
synced 2025-02-02 02:34:22 +00:00
Updated 错误处理 (markdown)
parent
2cc1628b37
commit
b73294baca
2
错误处理.md
2
错误处理.md
@ -1,6 +1,6 @@
|
||||
所有的错误均使用异常抛出,异常类名为 `Overtrue\Wechat\Exception`, 你可以使用常规的异常处理方法来处理本 SDK 所有的异常:
|
||||
|
||||
比如使用 `[set_exception_handler](http://php.net/manual/zh/function.set-exception-handler.php)`:
|
||||
比如使用 [set_exception_handler](http://php.net/manual/zh/function.set-exception-handler.php) :
|
||||
|
||||
```php
|
||||
set_exception_handler(function($exception){
|
||||
|
Loading…
Reference in New Issue
Block a user