# RunErrorFingerprint

> 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.runerrorfingerprint/
> Summary: RunErrorFingerprint: Produces the clustering digest Tracon's built-in classifier uses.

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

Produces the clustering digest Tracon's built-in classifier uses.

```csharp
public static class RunErrorFingerprint
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.runerrorfingerprint/">RunErrorFingerprint</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

A thin public facade over [Tracon.ErrorFingerprint](/api/tracon/): the internal
type stays `partial` and keeps its `GeneratedRegex` members,
only this single entry point is a contract. A consumer composing
[DefaultRunErrorClassifier](/api/tracon.defaultrunerrorclassifier/) into their own
[IRunErrorClassifier](/api/tracon.irunerrorclassifier/) uses this to produce a fingerprint that
lands in the SAME cluster as one Tracon computed —
[RunErrorClassification.Fingerprint](/api/tracon.runerrorclassification/#Tracon_RunErrorClassification_Fingerprint) is otherwise unreachable.

## Methods

### <a id="Tracon_RunErrorFingerprint_Compute_System_String_"></a> Compute\(string?\)

Normalizes an error message and returns its clustering digest.

```csharp
public static string Compute(string? message)
```

#### Parameters

`message` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The raw error message. [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) is treated as empty.

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

The lowercase hexadecimal SHA-256 digest.
