# ResourceMovedError

Output type describing a failure when moving a resource.

> Kind: Apex type · Updated: 2026-07-03

Custom Apex type representing an error output returned by the Client.getEventDetails() method's ErrorEvent handling. It carries the resource that failed to move and its intended destination.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | <a href="#/apex-type-resource">Resource</a> | optional | The resource that failed to move. |
| DestinationId | String | optional | Id of the folder the resource was to be moved to. |
