errors

package
v0.0.2-0...-11de152 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package errors offers try/catch/final primitives for error handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Try

func Try[T any](e func() (T, error)) catch[T]

Try tries a given function and see if it throw any error

Types

This section is empty.

Jump to

Keyboard shortcuts

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