Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 243 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 243 Bytes

Convenient Golang error handling

ErrHand is a simple Golang package to aid writing simple programs fast.

Usage

Import:

import (
	"github.com/wkoszek/errhand"
)

API

errhand.CrashIfErr(err)	<- will crash the program is err != nil