err.lua

changeset 2
3975fa5ed630
child 7
038275cd92ed
equal deleted inserted replaced
1:e2face1be50e 2:3975fa5ed630
1
2 module("err", package.seeall)
3
4 function file_pos(f, pos, e)
5 error(string.format("%s:%d: %s", f, pos, e))
6 end
7
8 function file(f, e)
9 error(string.format("%s %s", f, e))
10 end
11

mercurial