在函数选项未返回预期类型的值时抛出,例如当函数预计返回一个 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.】