Struct NatsSvcStatus
Status of a NATS service response, derived from the Nats-Service-Error
and Nats-Service-Error-Code response headers and the no-responders sentinel.
public readonly struct NatsSvcStatus
- Inherited Members
Properties
- Code
Error code from the
Nats-Service-Error-Codeheader.0when the header is missing or not an integer, or when the response is a success.
- HasNoResponders
truewhen the response is a no-responders sentinel (no service was listening).
- IsSuccess
truewhen the response carries no service error and is not a no-responders sentinel.
- Message
Error message from the
Nats-Service-Errorheader, ornullwhen absent.