errorutil

package
v0.0.0-...-2dfab7d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserMessagef

func AddUserMessagef(original error, msg string, args ...any) error

func CombinedError

func CombinedError(original error, userErr *userError) error

func ConvertToUserError

func ConvertToUserError(err error) error

func EarliestStackTrace

func EarliestStackTrace(err error) errors.StackTrace

func GetUserErrorMessage

func GetUserErrorMessage(err error) string

func NewUserError

func NewUserError(msg string) *userError

func NewUserErrorf

func NewUserErrorf(msg string, args ...any) *userError

Types

This section is empty.

Jump to

Keyboard shortcuts

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