The executeanonymous() call returns information about whether or not the compile and run of the code was successful.
An ExecuteAnonymousResult object has the following properties:
Name | Type | Description |
---|---|---|
column | int* | If compiled is False, this field contains the column number of the point where the compile failed. |
compileProblem | string* | If compiled is False, this field contains a description of the problem that caused the compile to fail. |
compiled | boolean* | If True, the code was successfully compiled. If False, the column, line, and compileProblem fields are not null. |
exceptionMessage | string* | If success is False, this field contains the exception message for the failure. |
exceptionStackTrace | string* | If success is False, this field contains the stack trace for the failure. |
line | int* | If compiled is False, this field contains the line number of the point where the compile failed. |
success | boolean* | If True, the code was successfully executed. If False, the exceptionMessage and exceptionStackTrace values are not null. |
* Link goes to the SOAP API Developer's Guide.