AI-generated Key Takeaways
-
GCKError is a subclass of NSError used for framework errors.
-
The class provides methods to construct a GCKError with or without custom data.
-
A method is available to retrieve a human-readable description for a given error code.
Overview
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... | |
Method Detail
| + (GCKError *) errorWithCode: | (GCKErrorCode) | code |
Constructs a GCKError with the given error code.
| + (GCKError *) errorWithCode: | (GCKErrorCode) | code | |
| customData: | (id __nullable) | customData | |
Constructs a GCKError with the given error code and optional custom data.
| + (NSString *) enumDescriptionForCode: | (GCKErrorCode) | code |
Returns the human-readable description for a given error code.