4D Plugin API, Commands and Topics for Error Checking
PA_GetLastError
lastError