luci/modules/luci-base/htdocs/luci-static
Jo-Philipp Wich bd713f870a luci-base: rpc.js: add ability to reject nonzero ubus statuses
Add a new declare option `reject` which makes the generated RPC call
function reject with an error in case the remote ubus call returned
a non-zero status.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10 22:50:41 +02:00
..
resources luci-base: rpc.js: add ability to reject nonzero ubus statuses 2020-04-10 22:50:41 +02:00