# DispatchDocsEventFailureReason type 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/class-dispatch-docs-event-failure-reason) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 详细描述 [#详细描述] 适用版本:**@shengwang/whiteboard 0.2.11**。 统一课件命令被拒绝的原因字符串联合类型。 可从 @shengwang/whiteboard 直接导入 DispatchDocsEventFailureReason。仅用于类型声明,不能作为构造函数调用 new。 ## 类型结构(源码声明) [#类型结构源码声明] 下方源码文件的 export 声明不等同于 SDK 包入口导出;业务导入方式以上方说明为准。 ```text export type DispatchDocsEventFailureReason = | "invalidEvent" | "invalidOptions" | "targetNotFound" | "targetNotSupported" | "eventNotSupported" | "notWritable" | "stateUnavailable" | "outOfRange" | "commandFailed"; ``` ## 类型定义 [#类型定义] ```text = | "invalidEvent" | "invalidOptions" | "targetNotFound" | "targetNotSupported" | "eventNotSupported" | "notWritable" | "stateUnavailable" | "outOfRange" | "commandFailed"; ```