Grpc.Core.RpcException
Thrown when remote procedure call fails. Every RpcException is associated with a resulting Status of the call.
Resulting status of the call.
Returns the status code of the call, as a convenient alternative to StatusCodeStatus.StatusCode.
Gets the call trailing metadata.
Trailers only have meaningful content for client-side calls (in which case they represent the trailing metadata sent by the server when closing the call).
Instances of RpcException thrown by the server-side part of the stack will have trailers always set to empty.
Creates a new RpcException associated with given status.
Creates a new RpcException associated with given status and message.
NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error
details to the peer.
Creates a new RpcException associated with given status and trailing response metadata.
Creates a new RpcException associated with given status, message and trailing response metadata.
NOTE: the exception message is not sent to the remote peer. Use status.Details to pass error
details to the peer.