Protocol

LocalizedError

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

Declaration

protocol LocalizedError

Topics

Instance Properties

var errorDescription: String?

Required. Default implementation provided.

var failureReason: String?

Required. Default implementation provided.

var helpAnchor: String?

Required. Default implementation provided.

var recoverySuggestion: String?

Required. Default implementation provided.

Relationships

Inherits From

See Also

User-Relevant Errors

protocol Error

A type representing an error value that can be thrown.

class NSError

Information about an error condition including a domain, a domain-specific error code, and application-specific information.

protocol RecoverableError

A specialized error that may be recoverable by presenting several potential recovery options to the user.

protocol CustomNSError

A specialized error that provides a domain, error code, and user-info dictionary.