# FilterException.FilterError Enumeration

> Enumerates errors which can occur when a text filter is used to convert a TX Text Control document to or from another format. It contains the following values:

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > FilterException.FilterError Enumeration
- **1093 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/filterexception/filtererror-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/filterexception/filtererror-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/filterexception/filtererror-enumeration/llms-full.txt

---

### Description

Enumerates errors which can occur when a text filter is used to convert a TX Text Control document to or from another format. It contains the following values:

### Syntax

```csharp
public enum FilterException.FilterError
```

```vbnet
Public Enum FilterException.FilterError
```

### Members

| Member | Value | Description |
|---|---|---|
| WrongFileType | 1 | The file type is not supported through the filter. |
| BadToken | 2 | There is a logical error in the file. |
| OutOfMemory | 3 | Unable to allocate enough memory. |
| CannotRead | 4 | File read error. |
| CannotWrite | 5 | File write error. |
| CannotOpen | 6 | Unable to open the file. |
| FileTooBig | 7 | The input file is too big. |
| Unsupported | 8 | Unsupported format version. |
| Internal | 9 | Unspecified internal error. |
| Obsolete | 10 | The filter is obsolete. |
| NotWellFormed | 11 | The file contains not well-formed syntax. |
| Encrypted | 12 | The document cannot be imported because the used encryption scheme is not supported. |
| NonEmbeddableFont | 13 | The document cannot be saved, because it contains a non-embeddable font. |
| InvalidCertificate | 14 | The specified certificate is invalid or has no private key. |
| InvalidTimeServer | 15 | The specified time server does not exist or retrieves invalid data. |
| InvalidPassword | 16 | The specified user-password is invalid. |
| EncryptedPassword | 17 | Not described in the reference. |
| InvalidReference | 18 | Not described in the reference. |
| FormulaCalculation | 19 | Not described in the reference. |
| FormulaFunctionParameter | 20 | Not described in the reference. |
| NeedsTableRowCount | 21 | Not described in the reference. |

### Examples

The following example selects the Wrong File Type value from the Filter Error enumeration and uses it as a documented workflow choice.

```csharp
FilterException.FilterError value = FilterException.FilterError.WrongFileType;
Console.WriteLine($"Using Filter Error: {value}");
```

```vbnet
Dim value As FilterException.FilterError = FilterException.FilterError.WrongFileType
Console.WriteLine($"Using Filter Error: {value}")
```

---

## Nearby

- **Previous:** [FilterException Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/filterexception/constructor/llms-full.txt)
- **Next:** [FilterException.Reason Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/filterexception/reason-property/llms-full.txt)
