如果函数选项在执行时没有返回预期的值类型时(例如当函数应该返回 promise),则抛出错误。
Thrown in case a function option does not return an expected value type on execution, such as when a function is expected to return a promise.