package exerrors
import "go.mau.fi/util/exerrors"
Index ¶
- func Must[T any](val T, err error) T
- func Must2[T any, T2 any](val T, val2 T2, err error) (T, T2)
- func PanicIfNotNil(err error)
- type DualError
Functions ¶
func Must ¶
func Must2 ¶
func PanicIfNotNil ¶
func PanicIfNotNil(err error)
Types ¶
type DualError ¶
func NewDualError ¶
func (DualError) Error ¶
func (DualError) Is ¶
func (DualError) Unwrap ¶
Source Files ¶
dualerror.go must.go
- Version
- v0.8.6 (latest)
- Published
- Mar 16, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 week ago –
Tools for package owners.