luci-proto-qmi: register further network error codes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-07-12 17:00:32 +02:00
parent 5f2aa8d475
commit 401898a437

View file

@ -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"))