errorx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Overview

A package to help with errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ignore

func Ignore[T any](val T, err error) T

Ignore is a helper function to ignore errors.

func Must

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

Must panics if the error is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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