Skip to content

ReportError

Namespace: E2E.Reports

public sealed record ReportError : IEquatable<ReportError>

An error as a report tells it: the serialized error without its stack (upstream’s ReportError).

Inheritance: object

Implements: IEquatable<ReportError>

View source

public ErrorCategory Category { get; init; }

Value: ErrorCategory

View source

public string Code { get; init; }

The error code, such as ASSERTION_FAILED.

Value: string

View source

public ErrorDetails? Details { get; init; }

The structured facts beside the message: an assertion’s expected and observed, a locator’s role and name.

Value: ErrorDetails

View source

public string Message { get; init; }

Value: string

View source

public ErrorPhase? Phase { get; init; }

Value: ErrorPhase?

View source

public bool Retryable { get; init; }

Whether the caller may observe again and repeat the operation.

Value: bool

View source

public HookScope? Scope { get; init; }

Value: HookScope

View source

public string? ScopeId { get; init; }

Value: string

View source

public ReportSource? Source { get; init; }

The line in the test file the failure unwound through.

Value: ReportSource

View source