ProtocolFoundation
CustomNSError
Describes an error type that specifically provides a domain, code, and user-info dictionary.
protocol CustomNSError : Error
Describes an error type that specifically provides a domain, code, and user-info dictionary.
protocol CustomNSError : Error
static var errorDomain: String
The domain of the error.
var errorCode: Int
The error code within the given domain.
var errorUserInfo: [String : Any]
The user-info dictionary.