Table of Contents

Class DetailedError

Namespace
CedarDotNet.Models
Assembly
CedarDotNet.dll

A detailed error.

public sealed record DetailedError : IEquatable<DetailedError>
Inheritance
DetailedError
Implements
Inherited Members

Properties

Code

The error code.

[JsonPropertyName("code")]
public string? Code { get; init; }

Property Value

string

Help

The help comment.

[JsonPropertyName("help")]
public string? Help { get; init; }

Property Value

string

Message

The message.

[JsonPropertyName("message")]
public required string Message { get; init; }

Property Value

string

The related errors.

[JsonPropertyName("related")]
public IReadOnlyCollection<DetailedError> Related { get; init; }

Property Value

IReadOnlyCollection<DetailedError>

Severity

The severity.

[JsonPropertyName("severity")]
public Severity? Severity { get; init; }

Property Value

Severity?

SourceLocations

The source locations.

[JsonPropertyName("sourceLocations")]
public IReadOnlyCollection<SourceLabel> SourceLocations { get; init; }

Property Value

IReadOnlyCollection<SourceLabel>

Url

A URL to a page with more information about the error.

[JsonPropertyName("url")]
public string? Url { get; init; }

Property Value

string