Table of Contents

Class Error.InternalServerError

Namespace
Trellis
Assembly
Trellis.Core.dll

HTTP 500 — an unhandled server-side fault occurred.

public sealed record Error.InternalServerError : Error, IEquatable<Error>, IEquatable<Error.InternalServerError>
Inheritance
Error.InternalServerError
Implements
Inherited Members
Extension Methods

Constructors

InternalServerError(string)

HTTP 500 — an unhandled server-side fault occurred.

public InternalServerError(string FaultId)

Parameters

FaultId string

An opaque identifier correlating to richer diagnostics in the logging/telemetry layer.

Properties

Code

Gets the per-instance machine-readable code. Defaults to Kind; cases whose payload carries a per-instance ReasonCode override this.

public override string Code { get; }

Property Value

string

FaultId

An opaque identifier correlating to richer diagnostics in the logging/telemetry layer.

public string FaultId { get; init; }

Property Value

string

Kind

Gets the stable, IANA-aligned identifier for this case (e.g. "not-found", "unprocessable-content"). Suitable for telemetry, problem-details type URI synthesis, and wire serialization.

public override string Kind { get; }

Property Value

string