---
schema_version: "1"
id: a074918181dafcb5d30e1a5b40b8a69253aef2a3d7c20e2d35e3f5afd5b08c06
title: FailureResult Interface
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_interface_eventbus_FailureResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_FailureResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 70778dc46b2b050c90ba939c29835ddf420d6005055dc627310fad0d82244243
description: 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.Returns a list of EventUuid field values of each platform event that is included in EventBus.EventPublishFailureCallback.
---
# 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.

## Namespace

[EventBus](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_eventbus.htm "The EventBus namespace provides classes and methods for platform events and Change Data Capture events.")

- **[FailureResult Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_FailureResult.htm#apex_eventbus_FailureResult_methods)**

## FailureResult Methods

The following are methods for FailureResult.

- **[getEventUuids()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_FailureResult.htm#apex_eventbus_FailureResult_getEventUuids)**  
    Returns a list of EventUuid field values of each platform event that is included in EventBus.EventPublishFailureCallback.

### getEventUuids()

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

#### Signature

public List<String> getEventUuids()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")\>