Table of Contents

Class Error.Gone

Namespace
Trellis
Assembly
Trellis.Core.dll

HTTP 410 — the resource is permanently gone.

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

Constructors

Gone(ResourceRef)

HTTP 410 — the resource is permanently gone.

public Gone(ResourceRef Resource)

Parameters

Resource ResourceRef

The resource that has been removed.

Properties

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

Resource

The resource that has been removed.

public ResourceRef Resource { get; init; }

Property Value

ResourceRef