sq_getlasterror

Squirrel 2.2

sq_getlasterror

void sq_getlasterror(HSQUIRRELVM v);

pushes the last error in the stack.

parameters:
HSQUIRRELVM v

the target VM

remarks:

the pushed error descriptor can be any valid squirrel type.