Update api-exception documentation

This commit is contained in:
2022-11-29 02:21:01 +08:00
parent 36578fc113
commit 8b919d8aca
2 changed files with 38 additions and 2 deletions

View File

@@ -94,7 +94,27 @@ class HookEntry : IYukiHookXposedInit {
::: danger loggerE
Hooking Process exception occurred
An exception occurred in the Hooking Process of YukiHookAPI
:::
**Abnormal**
`YukiHookAPI` exception occurred while loading Xposed entry method.
**Solution**
This is an exception summary.
If any exception occurs in your current Hook Process (Hook Process crashes), it will be printed to the console using this method.
Please trace the stack where the exception occurred to locate your code problem.
###### exception
::: danger loggerE
An exception occurred when hooking internal function
:::

View File

@@ -94,7 +94,23 @@ class HookEntry : IYukiHookXposedInit {
::: danger loggerE
Hooking Process exception occurred
An exception occurred in the Hooking Process of YukiHookAPI
:::
**异常原因**
`YukiHookAPI` 在装载 Xposed 入口方法时发生异常。
**解决方案**
这是一个异常汇总,如果你当前的 Hook 进程中发生了任何异常 (Hook 进程崩溃),都会使用此方式打印到控制台,请追溯异常发生的堆栈以定位你的代码问题位置。
###### exception
::: danger loggerE
An exception occurred when hooking internal function
:::