Newer Version Available

This content describes an older version of this product. View Latest

ApexResult

A complex type that represents the result of Apex code executed as part of an ApexExecutionOverlayAction, returned in an ApexExecutionOverlayResult.

Available from API version 28.0 or later.

Fields

Field Details
apexError
Type
string
Description
The error text returned if the execution was unsuccessful.
apexExecutionResult
Type
ExecuteAnonymousResult
Description
The structured result returned from a successful execution.
ExecuteAnonymousResult includes the following fields:
  • column
  • compileProblem
  • compiled
  • exceptionMessage
  • exceptionStackTrace
  • line
  • success

ExecuteAnonymousResult is outside the current execution context; it does not provide access to variables in the heap.

Note

Usage

Overlay Apex on checkpoints to capture structured debugging information.