errfmt

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(err error) string

func NewUserFacingError added in v0.7.0

func NewUserFacingError(message string, cause error) error

Types

type UserFacingError added in v0.7.0

type UserFacingError struct {
	Message string
	Cause   error
}

UserFacingError forces a specific message, while preserving the underlying cause.

func (*UserFacingError) Error added in v0.7.0

func (e *UserFacingError) Error() string

func (*UserFacingError) Unwrap added in v0.7.0

func (e *UserFacingError) Unwrap() error

Jump to

Keyboard shortcuts

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