Table of Contents

Class GatewayInvokeException

Namespace
Virtufin.Api.Client
Assembly
Virtufin.Api.Client.dll

A backend failure the gateway reported in-band on Gateway.Invoke: the gRPC call itself succeeded, the response carried success = false with the backend's status code name and message.

public sealed class GatewayInvokeException : Exception, ISerializable
Inheritance
GatewayInvokeException
Implements
Inherited Members

Constructors

GatewayInvokeException(string, string, string, string)

A backend failure the gateway reported in-band on Gateway.Invoke: the gRPC call itself succeeded, the response carried success = false with the backend's status code name and message.

public GatewayInvokeException(string service, string method, string status, string message)

Parameters

service string
method string
status string
message string

Properties

Detail

The backend's message.

public string Detail { get; }

Property Value

string

IsTransient

Whether the failure is worth retrying as is: the backend timed out or was unavailable (including a tripped gateway circuit breaker).

public bool IsTransient { get; }

Property Value

bool

Method

The backend method the call was for.

public string Method { get; }

Property Value

string

Service

The backend service the call was for.

public string Service { get; }

Property Value

string

Status

The gRPC status code name the gateway reported (e.g. NOT_FOUND, DEADLINE_EXCEEDED).

public string Status { get; }

Property Value

string