Declared in PBErrors.h

+ pebbleErrorWithCode:underLyingError:

Convenience method to create an NSError object with error domain and a given PBErrorCode and with an underlying NSError object.

+ (NSError *)pebbleErrorWithCode:(PBErrorCode)code underLyingError:(NSError *__nullable)error

Parameters

code
The error code for which to create the error
error
The underlying error

Declared In

PBErrors.h

+ pebbleErrorWithCode:

Convenience method to create an NSError object with error domain and a given PBErrorCode.

+ (NSError *)pebbleErrorWithCode:(PBErrorCode)code

Parameters

code
The error code for which to create the error

Declared In

PBErrors.h