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
Help
The help comment.
[JsonPropertyName("help")]
public string? Help { get; init; }
Property Value
Message
The message.
[JsonPropertyName("message")]
public required string Message { get; init; }
Property Value
Related
The related errors.
[JsonPropertyName("related")]
public IReadOnlyCollection<DetailedError> Related { get; init; }
Property Value
Severity
The severity.
[JsonPropertyName("severity")]
public Severity? Severity { get; init; }
Property Value
SourceLocations
The source locations.
[JsonPropertyName("sourceLocations")]
public IReadOnlyCollection<SourceLabel> SourceLocations { get; init; }
Property Value
Url
A URL to a page with more information about the error.
[JsonPropertyName("url")]
public string? Url { get; init; }