Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / package / luci / protocols / luci-proto-qmi / luasrc / model / network / proto_qmi.lua
index 8a28ad4716b0bdf54baac8225e58d9edd5b248a5..c414378d8097f38d1f85b246414e87e86f17b080 100644 (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"))