Changeset 5872
- Timestamp:
- 03/18/10 23:40:57 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.9/libs/uvl/luasrc/uvl/validation.lua
r5118 r5872 18 18 local fs = require "nixio.fs" 19 19 local sys = require "luci.sys" 20 local ERR = require "luci.uvl.errors" 20 local ERR = require "luci.uvl.errors".error 21 21 22 22 local ipairs, unpack, type, tostring = ipairs, unpack, type, tostring … … 64 64 65 65 if not ok then 66 return false, ERR .SME_ERRVAL(object, {tostring(val), err})66 return false, ERR('SME_ERRVAL', object, {tostring(val), err}) 67 67 end 68 68 end
