SAPError
public protocol SAPError : LocalizedError, CustomDebugStringConvertible, CustomStringConvertible
A type representing an error value that can be thrown. It is a collection of few protocols:
CustomStringConvertibleCustomDebugStringConvertibleLocalizedError(with default implementation returningnil)
-
errorDescriptionExtension methodA localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get } -
failureReasonExtension methodA localized message describing the reason for the failure.
Declaration
Swift
public var failureReason: String? { get } -
recoverySuggestionExtension methodA localized message describing how one might recover from the failure.
Declaration
Swift
public var recoverySuggestion: String? { get } -
helpAnchorExtension methodA localized message providing “help” text if the user requests help.
Declaration
Swift
public var helpAnchor: String? { get }