AI-generated Key Takeaways
-
PALNonceErrorCode lists possible errors related to creating a nonce.
-
Errors can occur during fetching resources, indicating bad responses, no responses, or timeouts.
-
Errors can also occur during the encoding process of creating a nonce, such as initialization or encoding failures.
-
Other errors include the generated nonce being too long or the operating system version being too old.
PALNonceErrorCode
enum PALNonceErrorCode : NSInteger {}Error codes in PALNonceErrorDomain.
-
An unknown error occurred.
Declaration
Swift
case unknown = 100Objective-C
PALNonceErrorCodeUnknown = 100 -
Received an invalid response while fetching resources.
Declaration
Swift
case fetchBadResponse = 200Objective-C
PALNonceErrorCodeFetchBadResponse = 200 -
Could not obtain a response while fetching resources.
Declaration
Swift
case fetchNoResponse = 201Objective-C
PALNonceErrorCodeFetchNoResponse = 201 -
Timed out waiting for a response while fetching resources.
Declaration
Swift
case fetchTimedOut = 202Objective-C
PALNonceErrorCodeFetchTimedOut = 202 -
Could not initialize encoding while creating a nonce.
Declaration
Swift
case encoderInitFailed = 300Objective-C
PALNonceErrorCodeEncoderInitFailed = 300 -
Could not encode while creating a nonce.
Declaration
Swift
case encodingFailed = 301Objective-C
PALNonceErrorCodeEncodingFailed = 301 -
The generated nonce was too long.
Declaration
Swift
case tooLong = 302Objective-C
PALNonceErrorCodeTooLong = 302 -
The OS version is too old and not supported.
Declaration
Swift
case osVersionTooOld = 303Objective-C
PALNonceErrorCodeOSVersionTooOld = 303