Skip to content

afadeevz/omnierrors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniErrors - Simple Error Handling

  • No stack traces
  • No multierrors
    • Provides simple implementation of Join which does not actually combine errors but returns first non-nil one
  • List of functions:
    • New(msg string) error
    • Errorf(format string, args ...any) error
    • Wrap(err error, message string) error
    • Wrapf(err error, format string, args ...any)
    • Join(errs ...error) error
    • Is(err, target error) bool
    • As(err, target error) bool

About

❗Simple Error Handling

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages