Instance Property (Default implementation)swift 6.0.3Foundation
errorCode
The error code within the given domain.
var errorCode: Int { get }
The error code within the given domain.
var errorCode: Int { get }
import Foundation
protocol CustomNSError : Error
Describes an error type that specifically provides a domain, code, and user-info dictionary.
@frozen struct Int
A signed integer value type.
var errorCode: Int { get }
The error code within the given domain.
static var errorDomain: String { get }
Default domain of the error.
var errorUserInfo: [String : Any] { get }
The default user-info dictionary.