Skip to content

spacetab-io/errors-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

errors-go

Mini packet to work with errors

Methods

HasErrors(interface{}) bool

Checks if error occurs in passed var.

Wrap(method, action string, error) error

Wraps error with method and action, where it occurred.