One Logo Pool Ball
Foundation · IOS API REFERENCE

LocalizedError

protocol · iOS 8.0+ · SDK 27.1

protocol LocalizedError : Error

A specialized error that provides localized messages describing the error and why it occurred.

Members (4)

get · iOS 8.0+

helpAnchor

Swift declaration
var helpAnchor: String? { get }

A localized message providing "help" text if the user requests help.

get · iOS 8.0+

failureReason

Swift declaration
var failureReason: String? { get }

A localized message describing the reason for the failure.

get · iOS 8.0+

errorDescription

Swift declaration
var errorDescription: String? { get }

A localized message describing what error occurred.

get · iOS 8.0+

recoverySuggestion

Swift declaration
var recoverySuggestion: String? { get }

A localized message describing how one might recover from the failure.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →