> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# UnexpectedError

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: class
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-spi/src/errors/index.ts

This exception MUST be thrown when the unexpected happens. This is a last-resort error type that SHOULD be used if the erroneous state cannot be categorized in a better way.

**Signature:**

```typescript
export declare class UnexpectedError extends AnalyticalBackendError 
```
**Extends:** [AnalyticalBackendError](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.analyticalbackenderror/index.md)
