/// <summary>Returns the current error function of the VM. (see <see cref="SetPrintFunc"/>)</summary> public PrintFunction GetErrorFunc() { Unmanaged.SqPrintFunction func = Unmanaged.GetErrorFunc(Pointer); return((Squirrel v, string message) => func(v.Pointer, message)); }