uerr

package
v0.0.0-...-8d9c20c Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashError

func HashError(in error) string

func HashErrorString

func HashErrorString(in string) string

func UErr

func UErr(endUserSafeMsg string, returnCode int) error

func UErrLog

func UErrLog(endUserSafeMsg string, returnCode int, innerErr error) error

func UErrLogHash

func UErrLogHash(endUserSafeMsg string, returnCode int, innerErr error) error

func UnwrapAllErrorsForLog

func UnwrapAllErrorsForLog(err error) string

Types

type UserErrorData

type UserErrorData struct {
	// contains filtered or unexported fields
}

func (*UserErrorData) Error

func (s *UserErrorData) Error() string

func (*UserErrorData) ShouldLog

func (s *UserErrorData) ShouldLog() bool

func (*UserErrorData) Unwrap

func (s *UserErrorData) Unwrap() error

func (*UserErrorData) UserCode

func (s *UserErrorData) UserCode() int

func (*UserErrorData) UserMsgAndCode

func (s *UserErrorData) UserMsgAndCode() (string, int)

Jump to

Keyboard shortcuts

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