[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.events.ErrorEvent\u003c/code\u003e provides data for errors occurring within the Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003edetailedErrorCode\u003c/code\u003e, \u003ccode\u003eerror\u003c/code\u003e, \u003ccode\u003ereason\u003c/code\u003e, and \u003ccode\u003eseverity\u003c/code\u003e for detailed error information.\u003c/p\u003e\n"],["\u003cp\u003eThese properties help developers understand the cause and severity of errors, aiding in debugging and error handling.\u003c/p\u003e\n"],["\u003cp\u003eConstructor parameters allow for setting these properties when creating a new \u003ccode\u003eErrorEvent\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["The `ErrorEvent` class provides data for `ERROR` events within the cast framework. It's constructed with optional parameters: `detailedErrorCode`, `error` (an object or Error), `reason`, and `severity`. Its properties include the `detailedErrorCode` (identifying the error's cause), the `error` object (either an Error instance or an object with error info), `reason` (the error's reason), and `severity` (the error's level of importance). These elements allow for comprehensive error reporting.\n"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).ErrorEvent \nclass static\n\nEvent data for a `cast.framework.events.EventType.ERROR` event.\n\nConstructor\n\nErrorEvent\n\nnew\nErrorEvent(detailedErrorCode, error, reason, severity)\n\n| Parameter ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| detailedErrorCode | Optional [cast.framework.events.DetailedErrorCode](/cast/docs/reference/web_receiver/cast.framework.events#.DetailedErrorCode) Value must not be null. |\n| error | Optional Object Value must not be null. |\n| reason | Optional [cast.framework.messages.ErrorReason](/cast/docs/reference/web_receiver/cast.framework.messages#.ErrorReason) Value must not be null. |\n| severity | Optional [cast.framework.events.ErrorSeverity](/cast/docs/reference/web_receiver/cast.framework.events#.ErrorSeverity) Value must not be null. |\n\nProperties\n\ndetailedErrorCode \nconstant\n\n(non-null [cast.framework.events.DetailedErrorCode](/cast/docs/reference/web_receiver/cast.framework.events#.DetailedErrorCode) or undefined)\n\nAn error code representing the cause of the error.\n\nerror \nconstant\n\n(non-null Error, non-null Object, or undefined)\n\nThe error object. This could be an `Error` object (for example, if an\n`Error` was thrown in an event handler) or an object with error\ninformation (for example, if the receiver received an invalid command).\n\nreason\n\n(non-null [cast.framework.messages.ErrorReason](/cast/docs/reference/web_receiver/cast.framework.messages#.ErrorReason) or undefined)\n\nOptional error reason.\n\nseverity\n\n(non-null [cast.framework.events.ErrorSeverity](/cast/docs/reference/web_receiver/cast.framework.events#.ErrorSeverity) or undefined)\n\nOptional error severity."]]