Table of Contents

Class UnhealthyServer

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

OPA service is not healthy. If the bundles option is specified this can mean any of the configured bundles have not yet been activated. If the plugins option is specified then at least one plugin is in a non-OK state.

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

Properties

Code

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

Property Value

string

Error

[JsonProperty("error")]
public string? Error { get; set; }

Property Value

string

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