Table of Contents

Class ClientError

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

Bad Request

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

Properties

Code

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

Property Value

string

Errors

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

Property Value

List<Errors>

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 ("").