---
id: reference.content-sdk.ContentRestError.error
title: error
summary: "property: shoalrun.content.ContentRestError.error"
type: code-reference
area: publishing
subarea: publishing-content-delivery
canonical: /content-delivery/sdk/content-rest-error/error
---

# error

> Documentation index: [llms.min.txt](https://www.shoalrun.com/llms.min.txt) · Document manifest: [documents.json](https://www.shoalrun.com/documents.json)

**Updated: 2026-09-27.**

**Property** `shoalrun.content.ContentRestError.error`

```typescript
error: { code: ContentRestErrorCode; message: string; }
```

**Type:&#x20;**`{ code: `[`ContentRestErrorCode`](https://www.shoalrun.com/content-delivery/sdk/content-rest-error-code.md)`; message: string; }`

Required
