diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-07-12 17:00:32 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-07-12 18:10:59 +0200 |
commit | 401898a437c2b3191e0632e1114a5351113ccd9f (patch) | |
tree | 43d166fcdfc2dfe8a124f54fe506efadb52bbe68 | |
parent | 5f2aa8d4752546400b336ad4a10a9ea5543357c9 (diff) |
luci-proto-qmi: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua b/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua index 8a28ad4716..c414378d80 100644 --- a/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua +++ b/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua @@ -49,3 +49,7 @@ function proto.contains_interface(self, ifc) end netmod:register_pattern_virtual("^qmi%-%w") + +netmod:register_error_code("CALL_FAILED", luci.i18n.translate("Call failed")) +netmod:register_error_code("NO_CID", luci.i18n.translate("Unable to obtain client ID")) +netmod:register_error_code("PLMN_FAILED", luci.i18n.translate("Setting PLMN failed")) |