tracehelpers

package
v0.0.0-...-c3677c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetStatus

func SetStatus(err error, span *trace.Span)

Types

type GRPCError

type GRPCError interface {
	error
	GRPCStatus() *status.Status
}

func WithGRPCStatusCode

func WithGRPCStatusCode(err error, code codes.Code) GRPCError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL