Instance Property

userInfo

A dictionary containing application-specific data pertaining to the receiver.

Declaration

var userInfo: [AnyHashable : Any]? { get }

Discussion

nil if no application-specific data exists. As an example, if a method’s return value caused the exception to be raised, the return value might be available to the exception handler through this method.

See Also

Querying an NSException Object

var name: NSExceptionName

A string used to uniquely identify the receiver.

var reason: String?

A string containing a “human-readable” reason for the receiver.