Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Latest commit

 

History

History
22 lines (12 loc) · 379 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 379 Bytes

This package moved to https://github.com/spacetab-io/errors-go


errors-go

Mini packet to work with errors

Methods

New(string) error

Creates new error with passed message.

Newf(string) error

Creates new error with message sprintf'ed by format with passed params.

HasErrors(interface{}) bool

Checks if error occurs in passed var.