# RunErrorStatistics

> 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.runerrorstatistics/
> Summary: RunErrorStatistics: An error class's summary.

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

An error class's summary.

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

```csharp
public RunErrorStatistics()
```

## Properties

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

The error class.

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

 [RunErrorClass](/api/tracon.runerrorclass/)

### <a id="Tracon_RunErrorStatistics_TopClusters"></a> TopClusters

This class's most frequent clusters, in descending order of count.

```csharp
public IReadOnlyList<RunErrorCluster> TopClusters { get; init; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[RunErrorCluster](/api/tracon.runerrorcluster/)\>

### <a id="Tracon_RunErrorStatistics_TotalRuns"></a> TotalRuns

The total number of runs falling into this class.

```csharp
public required long TotalRuns { get; init; }
```

#### Property Value

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

### <a id="Tracon_RunErrorStatistics_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_RunErrorStatistics_Equals_Tracon_RunErrorStatistics_"></a> Equals\(RunErrorStatistics?\)

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

`other` [RunErrorStatistics](/api/tracon.runerrorstatistics/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_RunErrorStatistics_op_Equality_Tracon_RunErrorStatistics_Tracon_RunErrorStatistics_"></a> operator ==\(RunErrorStatistics?, RunErrorStatistics?\)

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

`left` [RunErrorStatistics](/api/tracon.runerrorstatistics/)?

`right` [RunErrorStatistics](/api/tracon.runerrorstatistics/)?

#### Returns

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

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

`left` [RunErrorStatistics](/api/tracon.runerrorstatistics/)?

`right` [RunErrorStatistics](/api/tracon.runerrorstatistics/)?

#### Returns

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