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

microparts/errors-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.