One Logo Pool Ball
Foundation · IOS API REFERENCE

CustomNSError

protocol · iOS 8.0+ · SDK 27.1

protocol CustomNSError : Error

A specialized error that provides a domain, error code, and user-info dictionary.

Members (3)

get · iOS 8.0+

errorUserInfo

Swift declaration
var errorUserInfo: [String : Any] { get }

The default user-info dictionary.

get · iOS 8.0+

errorCode

Swift declaration
var errorCode: Int { get }

The error code within the given domain.

get · iOS 8.0+

errorCode

Swift declaration
var errorCode: Int { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CustomNSError.errorDomain

Static protocol requirements cannot be called through an instance.

All Foundation types →