Skip to main content

grpc_code

Function grpc_code 

Source
pub fn grpc_code(http_status: u16) -> i32
Expand description

The gRPC code an HTTP failure status corresponds to, per the OTLP specification’s mapping.