Closed gustavo-oliveira-mendonca closed 7 years ago
In the documentation of the server is described:
S7Server.LastError() Returns the last job result.
S7Server.LastError()
Returns the last job result.
Trying to call var err = S7Server.LastError() raises the error:
var err = S7Server.LastError()
TypeError: S7Server.LastError is not a function
Oh, yes you are right. I missed a line of code to register that function to node.js 😆 I will patch it tomorrow, thanks!
fixed in https://github.com/mathiask88/node-snap7/commit/b9ea936f777872a2eff583b4cfe95c757bf9af8e
In the documentation of the server is described:
Trying to call
var err = S7Server.LastError()
raises the error: