Table of Contents

Class Error.NotFound

Namespace
Trellis
Assembly
Trellis.Core.dll

HTTP 404 — the requested resource does not exist.

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

Constructors

NotFound(ResourceRef)

HTTP 404 — the requested resource does not exist.

public NotFound(ResourceRef Resource)

Parameters

Resource ResourceRef

The resource that was looked up.

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 was looked up.

public ResourceRef Resource { get; init; }

Property Value

ResourceRef