status

package
v0.0.0-...-de3cd48 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DetailStatusKey  = "status"
	DetailMessageKey = "msg"
	DetailLevelKey   = "level"
	DetailCallersKey = "callers"
)

Variables

This section is empty.

Functions

func Error

func Error(err error, status ecode.Status, levels ...log.Level) error

Error ...

func ErrorWithMsg

func ErrorWithMsg(err error, status ecode.Status, msg string, levels ...log.Level) error

ErrorWithMsg ...

func FromError

func FromError(err error) (*gstatus.Status, *structpb.Struct)

FromError ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳