# RunError

> 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.runerror/
> Summary: RunError: Error information for a failed run.

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

Error information for a failed run.

```csharp
public sealed record RunError : IEquatable<RunError>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.runerror/">RunError</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;RunError&gt;</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.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>

## Constructors

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

```csharp
public RunError()
```

## Properties

### <a id="Tracon_RunError_Class"></a> Class

Gets the class chosen by [IRunErrorClassifier](/api/tracon.irunerrorclassifier/). Rows written
BEFORE the error class was introduced hold [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null), which
the user interface shows in the `Unknown` bucket.

```csharp
public RunErrorClass? Class { get; init; }
```

#### Property Value

 [RunErrorClass](/api/tracon.runerrorclass/)?

### <a id="Tracon_RunError_Fingerprint"></a> Fingerprint

Gets the digest of the normalized message, used to cluster repetitions of
the same fault. [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) when no classifier ran, as for
`Class`.

```csharp
public string? Fingerprint { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_RunError_Message"></a> Message

Gets the error message.

```csharp
public required string Message { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_RunError_Type"></a> Type

Gets the name of the exception type.

```csharp
public required string Type { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### <a id="Tracon_RunError_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunError_Equals_Tracon_RunError_"></a> Equals\(RunError?\)

```csharp
public bool Equals(RunError? other)
```

#### Parameters

`other` [RunError](/api/tracon.runerror/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunError_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_RunError_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_RunError_op_Equality_Tracon_RunError_Tracon_RunError_"></a> operator ==\(RunError?, RunError?\)

```csharp
public static bool operator ==(RunError? left, RunError? right)
```

#### Parameters

`left` [RunError](/api/tracon.runerror/)?

`right` [RunError](/api/tracon.runerror/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunError_op_Inequality_Tracon_RunError_Tracon_RunError_"></a> operator \!=\(RunError?, RunError?\)

```csharp
public static bool operator !=(RunError? left, RunError? right)
```

#### Parameters

`left` [RunError](/api/tracon.runerror/)?

`right` [RunError](/api/tracon.runerror/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
