Class GatewayInvokeException
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
Properties
Detail
The backend's message.
public string Detail { get; }
Property Value
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
Method
The backend method the call was for.
public string Method { get; }
Property Value
Service
The backend service the call was for.
public string Service { get; }
Property Value
Status
The gRPC status code name the gateway reported (e.g. NOT_FOUND, DEADLINE_EXCEEDED).
public string Status { get; }