summaryrefslogtreecommitdiffhomepage
path: root/lib/uci.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-09-09 14:06:23 +0200
committerJo-Philipp Wich <jo@mein.io>2022-09-09 14:23:07 +0200
commitcc4eb798c1bb55ce82698e548dc4e981a7d8a1ce (patch)
treeca087c52152eb561b46abe8b99b09ec9d871faab /lib/uci.c
parent01c412c4607911f20086264ddf4ac269f3b8eb5f (diff)
ubus: support obtaining numeric error code
Some ubus users require access to the original ubus error status returned by various operations for fine grained error handling. Extend the error() function with an optional boolean argument which causes the function to return the numeric error code instead of a preformatted message when invoked. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/uci.c')
0 files changed, 0 insertions, 0 deletions