Table of Contents

Class ServerError

Namespace
Styra.Opa.OpenApi.Models.Errors
Assembly
Styra.Opa.dll

Server Error

public class ServerError : Exception, ISerializable
Inheritance
ServerError
Implements
Inherited Members

Properties

Code

[JsonProperty("code")]
public string Code { get; set; }

Property Value

string

DecisionId

[JsonProperty("decision_id")]
public string? DecisionId { get; set; }

Property Value

string

Errors

[JsonProperty("errors")]
public List<ServerErrorErrors>? Errors { get; set; }

Property Value

List<ServerErrorErrors>

Message

Gets a message that describes the current exception.

public override string Message { get; }

Property Value

string

The error message that explains the reason for the exception, or an empty string ("").