errortracer

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddData added in v1.3.0

func AddData(err error, additionalData map[string]any) error

func NewError

func NewError(code codes.Code, originalMessage, userMessage string) error

func NewErrorWithData

func NewErrorWithData(code codes.Code, originalMessage, userMessage string, additionalData map[string]interface{}) error

func Print added in v1.3.0

func Print(err error) string

func Wrap

func Wrap(err error, userMessage string) error

func WrapWithData

func WrapWithData(err error, userMessage string, additionalData map[string]any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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