Table of Contents

Class Error.ContentTooLarge

Namespace
Trellis
Assembly
Trellis.Core.dll

HTTP 413 — the request payload exceeds size limits.

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

Constructors

ContentTooLarge(long?)

HTTP 413 — the request payload exceeds size limits.

public ContentTooLarge(long? MaxBytes = null)

Parameters

MaxBytes long?

Optional maximum accepted size in bytes.

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

MaxBytes

Optional maximum accepted size in bytes.

public long? MaxBytes { get; init; }

Property Value

long?