Class: TMMScript
property LastError : TAppError; { read-only }
Structured error from the last Execute call.
Code = EC_NONE (0) when Execute
succeeded.
Provides the error code, human-readable message, and native MySQL and
EDB error number when a server-side error occurred.
See TAppError.