summaryrefslogtreecommitdiffstats
path: root/lib/ferr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: conform with COMMUNITY.md formatting rules, via 'make indent'Lou Berger2018-03-061-12/+11
| | | | Signed-off-by: Lou Berger <lberger@labn.net>
* lib: fix wrong warning from clangVincent JARDIN2017-10-091-0/+1
| | | | | | | | | | | | The compiler cannot guess that rise() will not return here. One should help. Warning: Access to field 'file' results in a dereference of a null pointer (loaded from variable 'error') aka error->file while error is NULL. Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
* lib: "ferr" error-information systemDavid Lamparter2017-08-281-0/+147
This provides an API to pass around extra information for errors, more than a simple return value can carry. This is particularly used for the Cap'n Proto interface to be able to report more useful errors. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>