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
ResourceResourceRefThe 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
Resource
The resource that was looked up.
public ResourceRef Resource { get; init; }