summaryrefslogtreecommitdiff
path: root/lib/lace/error.lua
blob: d52da1d0f3f31bdec6a66945420a3795f4ef95a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- lib/lace/error.lua
--
-- Lua Access Control Engine - Error management
--
-- Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
--
-- For licence terms, see COPYING
--

local function _error(str, words)
   return false, { msg = str, words = words or {} }
end

return {
   error = _error
}