FailureResult Interface

Contains the result of an Apex publish callback when the event publishing failed. This interface is used as a parameter in the onFailure method of the EventPublishFailureCallback interface.

EventBus

The following are methods for FailureResult.

  • getEventUuids()

    Returns a list of EventUuid field values of each platform event that is included in EventBus.EventPublishFailureCallback.

Returns a list of EventUuid field values of each platform event that is included in EventBus.EventPublishFailureCallback.

public List<String> getEventUuids()

Type: List<String>