./devel/go-errors, Simple error handling primitives

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6.0, Package name: go-errors-0.6.0, Maintainer: pkgsrc-users

Package errors provides simple error handling primitives.

The traditional error handling idiom in Go is roughly akin to

if err != nil {
return err
}

which applied recursively up the call stack results in error reports without
context or debugging information. The errors package allows programmers to add
context to the failure path in their code in a way that does not destroy the
original value of the error.


Master sites:

SHA1: 1cdcb7955c31269164c1e23f697c72d149b761bc
RMD160: a46a88c12490c1295aff9a981756dccb908fa309
Filesize: 7.669 KB

Version history: (Expand)


CVS history: (Expand)


   2017-08-25 18:49:15 by Jonathan Perkin | Files touched by this commit (93)
Log message:
Remove trailing empty lines.
   2017-08-25 18:30:26 by Jonathan Perkin | Files touched by this commit (35)
Log message:
Fix formatting of go DESCR files.  Some of the contents still leave a lot to be
desired.
   2017-08-17 03:23:10 by Gavan Fantom | Files touched by this commit (5)
Log message:
Add go-errors package