GCKError 类
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["`GCKError` is a subclass of `NSError` specifically designed for Google Cast framework errors."],["You can construct a `GCKError` instance with an error code and optional custom data."],["`GCKError` provides a method to retrieve a human-readable description for a given error code."],["The class includes methods for constructing instances with specified error codes and custom data."]]],["The GCKError class, a subclass of NSError, provides methods for handling framework errors. It includes three primary class methods: `errorWithCode:`, which creates a GCKError instance with a specified error code; `errorWithCode:customData:`, which creates a GCKError instance with an error code and optional custom data; and `enumDescriptionForCode:`, which provides a human-readable description for a given error code. These methods are to help with creating error instances and understanding them.\n"]]