err.lua

Sun, 07 May 2017 20:02:53 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 07 May 2017 20:02:53 +0100
changeset 6
219d7a7304f8
parent 2
3975fa5ed630
child 7
038275cd92ed
permissions
-rw-r--r--

5.3 updates


module("err", package.seeall)

function file_pos(f, pos, e)
    error(string.format("%s:%d: %s", f, pos, e))
end

function file(f, e)
    error(string.format("%s %s", f, e))
end

mercurial