diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-10 22:50:41 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-10 22:50:41 +0200 |
commit | bd713f870a974d46b214d07d85ac4a895d85a122 (patch) | |
tree | 41da5cef1467fbdad124d54740c4b8f7b036472c /applications | |
parent | 465891ff0239b8fdafb737d01e3f05205a14319b (diff) |
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>
Diffstat (limited to 'applications')
0 files changed, 0 insertions, 0 deletions