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.errorDescriptionandLocalizedError.failureReasonif non-nil.Declaration
Swift
var localizedErrorUserInfo: [String : Any] { get }
View on GitHub
Install in Dash
Error Extension Reference