diff options
Diffstat (limited to 'util.lua')
-rw-r--r-- | util.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util.lua b/util.lua new file mode 100644 index 0000000..109ac67 --- /dev/null +++ b/util.lua @@ -0,0 +1,7 @@ +local function perr(err,what) + if err then error(what..": "..err) end +end + +return { + perr=perr, +} |