Back to

Package status

Latest Go to latest

The latest major version is .

Published: Jan 20, 2020 | License: MIT | Module:


func FromError

func FromError(svrErr error) (gst *status.Status)

FromError convert error for service reply and try to convert it to grpc.Status.

func ToEcode

func ToEcode(gst *status.Status) ecode.Codes

ToEcode convert grpc.status to ecode.Codes

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier