luci-base: additionally return error code strings in luci.util.ubus()
authorJo-Philipp Wich <jo@mein.io>
Tue, 24 Apr 2018 17:22:55 +0000 (19:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 24 Apr 2018 17:22:55 +0000 (19:22 +0200)
commit11f4a50b3f009a665b02564d0ceab133a1772831
tree69e468d51988c8f4957ea5b3ffbc194f0be02145
parent914c661b58fc7e2dede1b9b4f83544b05232065c
luci-base: additionally return error code strings in luci.util.ubus()

Add a 3rd return value to luci.util.ubus() containing the string value
of the error return value.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/util.lua