errors

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must[T any](val T, err error, wrapMsgAndArgs ...any) T

func MustCommaError

func MustCommaError[T any](val T, err error) func(fmtString string, args ...any) T

func Wrap

func Wrap[T any](val T, err error, wrapMsgAndArgs ...any) (T, error)

func WrapCommaError

func WrapCommaError[T any](val T, err error) func(fmtString string, args ...any) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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