Contents

request(_:didFailWithError:)

Tells the delegate that the request failed to execute.

Declaration

optional func request(_ request: SKRequest, didFailWithError error: any Error)

Parameters

  • request:

    The request that failed.

  • error:

    The error that caused the request to fail.

Mentioned in

Discussion

When the request fails, your application should release the request. The requestDidFinish(_:) method is not called after this method is called.