Instance Method

session(_:didFailWithError:)

Tells the delegate that the session has stopped running due to an error.

Declaration

optional func session(_ session: ARSession, didFailWithError error: Error)

Parameters

session

The session providing information.

error

An object describing the failure.

See Also

Handling Errors

let ARErrorDomain: String

The error domain for NSError objects produced by an AR session.

enum ARError.Code

Error codes for NSError objects produced by an AR session.

struct ARError

The type for errors thrown by ARKit methods.