GCKError Class

  • GCKError is a subclass of NSError used for framework errors.

  • The GCKError class provides methods to construct errors with a given code or with a code and optional custom data.

  • You can get a human-readable description for a given error code using a class method.

A subclass of NSError for framework errors.

Inherits NSError.

Class Method Summary

(GCKError *) + errorWithCode:
 Constructs a GCKError with the given error code. More...
 
(GCKError *) + errorWithCode:customData:
 Constructs a GCKError with the given error code and optional custom data. More...
 
(NSString *) + enumDescriptionForCode:
 Returns the human-readable description for a given error code. More...
 

Constructs a GCKError with the given error code.

Constructs a GCKError with the given error code and optional custom data.

Returns the human-readable description for a given error code.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-18 UTC.