AI-generated Key Takeaways
-
GCKError
is a subclass ofNSError
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.
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: | (nullable id) | 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.