From 0dc100d1bcf16a34b4d3f224f1a2784cb56a0bf0 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Thu, 5 Jan 2023 19:28:31 +0800 Subject: [PATCH] Update api-exception documentation --- docs-source/src/en/config/api-exception.md | 20 +++++++++++++++++++ docs-source/src/zh-cn/config/api-exception.md | 16 +++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/docs-source/src/en/config/api-exception.md b/docs-source/src/en/config/api-exception.md index db168e83..31ea802b 100644 --- a/docs-source/src/en/config/api-exception.md +++ b/docs-source/src/en/config/api-exception.md @@ -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**\] ::: diff --git a/docs-source/src/zh-cn/config/api-exception.md b/docs-source/src/zh-cn/config/api-exception.md index 5bf38096..5e1d367d 100644 --- a/docs-source/src/zh-cn/config/api-exception.md +++ b/docs-source/src/zh-cn/config/api-exception.md @@ -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**\] :::