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.
Apex Unexpected Exception Event Type
The Apex Unexpected Exception event type captures information about
unexpected exceptions in Apex code execution. This event type is available in the
EventLogFile object in API version 45.0 and later. Unexpected exception information is not
captured in the EventLogFile object with @IsTest and
anonymous Apex.
For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.
Fields
| Field | Details |
|---|---|
| EVENT_TYPE | |
| EXCEPTION_CATEGORY |
|
| EXCEPTION_MESSAGE | |
| EXCEPTION_TYPE | |
| ORGANIZATION_ID |
|
| REQUEST_ID | |
| STACK_TRACE | |
| TIMESTAMP | |
| TIMESTAMP_DERIVED |
|
| USER_ID |
|
| USER_ID_DERIVED |