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