errors

package
v0.0.0-...-b044761 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errors implements transactional error handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(s string) error

New creates a new erorr with given string.

func Try

func Try(e func() (interface{}, error)) catch

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