mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
Update api-exception documentation
This commit is contained in:
@@ -630,6 +630,26 @@ Please check if the `Class` subscripted by the `index` number of `param` in the
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Invoke original Member \[**MEMBER**\] failed
|
||||
|
||||
:::
|
||||
|
||||
**Abnormal**
|
||||
|
||||
An error occurred when using `HookParam.callOriginal`, `HookParam.invokeOriginal`, `method { ... }.get(...).original()` to call the original method without Hook.
|
||||
|
||||
**Solution**
|
||||
|
||||
Under normal circumstances, this error will basically not occur.
|
||||
|
||||
If this error occurs, it may be a problem with the currently used Hook Framework.
|
||||
|
||||
After troubleshooting your own code problems, please provide detailed logs for feedback.
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Resources Hook condition name/type cannot be empty \[**TAG**\]
|
||||
|
||||
:::
|
||||
|
@@ -614,6 +614,22 @@ method {
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Invoke original Member \[**MEMBER**\] failed
|
||||
|
||||
:::
|
||||
|
||||
**异常原因**
|
||||
|
||||
在使用 `HookParam.callOriginal`、`HookParam.invokeOriginal`、`method { ... }.get(...).original()` 调用未经 Hook 的原始方法时发生错误。
|
||||
|
||||
**解决方案**
|
||||
|
||||
一般情况下,此错误基本上不会发生,若发生此错误,可能为当前使用的 Hook Framework 问题,排除自身代码的问题后,请携带详细日志进行反馈。
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Resources Hook condition name/type cannot be empty \[**TAG**\]
|
||||
|
||||
:::
|
||||
|
Reference in New Issue
Block a user