ProtocolFoundation
LocalizedError
Describes an error that provides localized messages describing why an error occurred and provides more information about the error.
protocol LocalizedError : Error
Describes an error that provides localized messages describing why an error occurred and provides more information about the error.
protocol LocalizedError : Error
var errorDescription: String?
A localized message describing what error occurred.
var failureReason: String?
A localized message describing the reason for the failure.
var helpAnchor: String?
A localized message providing “help” text if the user requests help.
var recoverySuggestion: String?
A localized message describing how one might recover from the failure.