diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-08 15:32:17 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:25:49 +0200 |
commit | ef187d5238aa0541d48832f3cd32b70ef53d2ad2 (patch) | |
tree | 2d58867c7cfa9566934acb34b4824c5171ad5001 /modules/luci-base/luasrc | |
parent | 26e54bb01f62c2bcc6ac9ff96afe1e653838d45f (diff) |
luci-base: luci.js: consolidate error handling
Add a new function L.error() which creates and throws a custom
error object with stack information and given type.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc')
0 files changed, 0 insertions, 0 deletions