TTMSMCPTask.Error Property
Description of why the operation failed.
API unit family: TMS.MCP.Tasks
Declaring type: TTMSMCPTask
Type: TJSONObject
Syntax
property Error: TJSONObject;
Remarks
The task owns the object and releases the previous one when a new object is assigned; assigning also refreshes TTMSMCPTask.LastUpdatedAt. Prefer TTMSMCPTaskRegistry.SetTaskError, which also marks the task failed and wakes the callers waiting for it.