(शून्य के अलावा दूसरी गड़बड़ी, शून्य के अलावा दूसरी चीज़ या तय नहीं है)
गड़बड़ी वाला ऑब्जेक्ट. यह कोई Error ऑब्जेक्ट हो सकता है. उदाहरण के लिए, अगर
Error को किसी इवेंट हैंडलर में फेंक दिया गया है) या कोई गड़बड़ी वाला ऑब्जेक्ट है
जानकारी (उदाहरण के लिए, अगर रिसीवर को कोई अमान्य निर्देश मिला है).
[[["समझने में आसान है","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."]]