# IRunErrorClassifier

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.irunerrorclassifier/
> Summary: IRunErrorClassifier: Converts a raw run error into a class and a clustering fingerprint.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Converts a raw run error into a class and a clustering fingerprint.

```csharp
public interface IRunErrorClassifier
```

## Remarks

Called only on the **error** path; it never triggers on a
successful run and must not allocate on the hot path.

Tracon's taxonomy is its own opinion; a consumer may want their own
class or clustering rule. Registered with `TryAddSingleton`, so the
consumer's registration wins.

**Tenant behavior — TENANT-INDEPENDENT.** [IRunErrorClassifier.Classify](/api/tracon.irunerrorclassifier/#Tracon_IRunErrorClassifier_Classify_Tracon_RunError_)
is a pure function of [RunError](/api/tracon.runerror/), which carries no tenant field;
the same taxonomy applies identically to every tenant's errors.

## Methods

### <a id="Tracon_IRunErrorClassifier_Classify_Tracon_RunError_"></a> Classify\(RunError\)

Classifies the error. Returns [RunErrorClass.Unknown](/api/tracon.runerrorclass/) if no
rule matches — it **does not guess**.

```csharp
RunErrorClassification Classify(RunError runError)
```

#### Parameters

`runError` [RunError](/api/tracon.runerror/)

The raw error to classify.

#### Returns

 [RunErrorClassification](/api/tracon.runerrorclassification/)

The class and clustering fingerprint.
