kratos: Index | Files

package status

import ""


Package Files


func FromError Uses

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

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

func ToEcode Uses

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

ToEcode convert grpc.status to ecode.Codes

Package status imports 7 packages (graph) and is imported by 2 packages. Updated 2020-05-21. Refresh now. Tools for package owners.