package grpc
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Grpc.Status
Source
code
represents the valid gRPC status codes to respond with.
int_of_code c
returns the corresponding integer status code for c
.
code_of_int i
returns the corresponding code for i
if it exists.
t
represents a full gRPC status, this includes code and optional message.
v ~message code
creates a new status with the given code
and message
.