---
title: LocalizedError
framework: foundation
role: symbol
role_heading: Protocol
path: foundation/localizederror
---

# LocalizedError

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

## Declaration

```swift
protocol LocalizedError : Error
```

## Topics

### Instance Properties

- [errorDescription](foundation/localizederror/errordescription.md)
- [failureReason](foundation/localizederror/failurereason.md)
- [helpAnchor](foundation/localizederror/helpanchor.md)
- [recoverySuggestion](foundation/localizederror/recoverysuggestion.md)

## Relationships

### Inherits From

- [Error](swift/error.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### User-Relevant Errors

- [Error](swift/error.md)
- [NSError](foundation/nserror.md)
- [RecoverableError](foundation/recoverableerror.md)
- [CustomNSError](foundation/customnserror.md)
