(n int, typ LValueType)
| 246 | } |
| 247 | |
| 248 | func (ls *LState) TypeError(n int, typ LValueType) { |
| 249 | ls.RaiseError("bad argument #%v to %v (%v expected, got %v)", n, ls.rawFrameFuncName(ls.currentFrame), typ.String(), ls.Get(n).Type().String()) |
| 250 | } |
| 251 | |
| 252 | /* }}} */ |
| 253 |
no test coverage detected