Required Instance Propertygrpc-swift 2.0.0GRPCCore
rpcErrorCode
The error code to terminate the RPC with.
var rpcErrorCode: RPCError.Code { get }
The error code to terminate the RPC with.
var rpcErrorCode: RPCError.Code { get }
s8GRPCCore19RPCErrorConvertibleP12rpcErrorCodeAA0B0V0F0Vvp
What are these?80RNS
import GRPCCore
A gRPC library for Swift written natively in Swift.
protocol RPCErrorConvertible
A value that can be converted to an RPCError
.
struct RPCError
An error representing the outcome of an RPC.
struct Code
var rpcErrorCause: (any Error)? { get }
The original error which led to this error being thrown.
var rpcErrorMessage: String { get }
A message providing additional context about the error.
var rpcErrorMetadata: Metadata { get }
Metadata associated with the error.