AI-generated Key Takeaways
-
PALNonceErrorCode lists error codes related to nonce generation and resource fetching.
-
Errors can occur during resource fetching, such as receiving a bad or no response, or timing out.
-
Errors can also occur during nonce creation, including initialization or encoding failures, or if the generated nonce is too long.
-
An unknown error code exists for unexpected issues.
-
An error code specifically indicates when the OS version is too old and not supported.
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