Détails spécifiques à l'erreur. La description du code d'erreur inclut le format de l'objet, le cas échéant.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/12/02 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2023/12/02 (UTC)."],[[["`chrome.cast.Error` objects describe errors returned by the Cast API and are usually not created directly by the client."],["These error objects contain an error code (`code`), an optional human-readable description (`description`), and optional error-specific details (`details`)."],["The `code` property is a value from the `chrome.cast.ErrorCode` enumeration, providing a specific error classification."],["`description` and `details` properties offer further information for understanding and handling the error."]]],["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"]]