Error
public extension Error where Self: CustomNSError
public extension Error where Self: CustomNSError, Self: LocalizedError
-
Returns the underlying error.
Declaration
Swift
var underlyingError: Error? { get }
-
Returns the localized error user info dictionary, which will include the
LocalizedError.errorDescription
andLocalizedError.failureReason
if non-nil.Declaration
Swift
var localizedErrorUserInfo: [String : Any] { get }