summaryrefslogtreecommitdiffstats
path: root/lib/ferr.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: conform with COMMUNITY.md formatting rules, via 'make indent'Lou Berger2018-03-061-38/+38
| | | | Signed-off-by: Lou Berger <lberger@labn.net>
* lib: change comment block to #define to avoid indent.py from breaking commentLou Berger2018-03-061-5/+6
| | | | | | due to DEFUN within comment Signed-off-by: Lou Berger <lberger@labn.net>
* lib: CMD_FERR_RETURN should return CMD_WARNING_CONFIG_FAILEDDaniel Walton2017-09-181-1/+1
| | | | | | | | | | | | | Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Testing the patch: root@cel-redxp-10[frr-dwalton76]# vtysh -c 'conf t' -c ' int vlan2' -c 'ip igmp join 233.200.0.1 10.1.1.1' Failure joining IGMP group: multicast not enabled on interface vlan2 root@cel-redxp-10[frr-dwalton76]# echo $? 1 root@cel-redxp-10[frr-dwalton76]
* lib: "ferr" error-information systemDavid Lamparter2017-08-281-0/+191
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>