Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DeployDetails

A complex type that contains detailed XML for any compile errors reported in the asynchronous request defined by a ContainerAsyncRequest object. Replaces the JSON field CompilerErrors in Tooling API version 31.0 and later.

Fields

Field Details
componentFailures
Type
string
Description
The line number, component name and a short description for any compile errors. For example:
1<DeployDetails>
2    <componentFailures>
3        <lineNumber>5</lineNumber>
4        <fullName>myApex</fileName>
5        <problem>invalid name 'abc'</problem>
6    </componentFailures>
7    <componentFailures>
8        <lineNumber>10</lineNumber>
9        <fullName>myApex2</fileName>
10        <problem>invalid type 'hello'</problem>
11    </componentFailures>
12</DeployDetails>