[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003echrome.cast.Error\u003c/code\u003e objects describe errors returned by the Cast API and are usually not created directly by the client.\u003c/p\u003e\n"],["\u003cp\u003eThese error objects contain an error code (\u003ccode\u003ecode\u003c/code\u003e), an optional human-readable description (\u003ccode\u003edescription\u003c/code\u003e), and optional error-specific details (\u003ccode\u003edetails\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecode\u003c/code\u003e property is a value from the \u003ccode\u003echrome.cast.ErrorCode\u003c/code\u003e enumeration, providing a specific error classification.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edescription\u003c/code\u003e and \u003ccode\u003edetails\u003c/code\u003e properties offer further information for understanding and handling the error.\u003c/p\u003e\n"]]],["The `chrome.cast.Error` class describes API errors, typically not client-created. It's constructed with a non-null error code (`chrome.cast.ErrorCode`), an optional string description, and optional error-specific details. Key properties include the `code` (error code), `description` (human-readable explanation), and `details` (error-specific object). These provide structured information about encountered errors. The parameters for creating a new instance of error include code, description and details.\n"],null,["# Class: Error\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).Error\n================================================================\n\nclass static\n\nDescribes an error returned by the API.\nNormally, these objects should not be created by the client.\n\nConstructor\n-----------\n\n### Error\n\nnew\nError(code, description, details)\n\n| #### Parameter ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------|\n| code | [chrome.cast.ErrorCode](/cast/docs/reference/web_sender/chrome.cast#.ErrorCode) The error code. Value must not be null. |\n| description | Optional string Description of the error. |\n| details | Optional Object Details specific to the error. Value must not be null. |\n\nProperties\n----------\n\n### code\n\nnon-null [chrome.cast.ErrorCode](/cast/docs/reference/web_sender/chrome.cast#.ErrorCode)\n\nThe error code.\n\n### description\n\nnullable string\n\nHuman readable description of the error.\n\n### details\n\nnullable Object\n\nDetails specific to the error. The description of the error code will\ninclude the format of the object if one is set."]]