errors

package module
v0.0.0-...-be11a06 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInternalError

func GetInternalError(err error) error

func GetPublicMessage

func GetPublicMessage(err error) *string

func IsPublicError

func IsPublicError(err error) bool

func NewPublic

func NewPublic(msg string) error

NewPublic return a new error with public message

func NewPublicf

func NewPublicf(format string, args ...interface{}) error

NewPublicf returns a new formatted error with public message

func PublicWrap

func PublicWrap(err error, publicMsg string) error

PublicWrap wraps an error with a public message

func PublicWrapf

func PublicWrapf(err error, publicMsgFormat string, args ...interface{}) error

PublicWrapf wraps an error with a public message

Types

This section is empty.

Jump to

Keyboard shortcuts

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