Skip to content

RunError

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Error information for a failed run.

public sealed record RunError : IEquatable<RunError>

objectRunError

IEquatable<RunError>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public RunError()

Gets the class chosen by IRunErrorClassifier. Rows written BEFORE the error class was introduced hold null, which the user interface shows in the Unknown bucket.

public RunErrorClass? Class { get; init; }

RunErrorClass?

Gets the digest of the normalized message, used to cluster repetitions of the same fault. null when no classifier ran, as for Class.

public string? Fingerprint { get; init; }

string?

Gets the error message.

public required string Message { get; init; }

string

Gets the name of the exception type.

public required string Type { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunError? other)

other RunError?

bool

public override int GetHashCode()

int

public override string ToString()

string

public static bool operator ==(RunError? left, RunError? right)

left RunError?

right RunError?

bool

public static bool operator !=(RunError? left, RunError? right)

left RunError?

right RunError?

bool