---
title: UnexpectedFastlyError
summary: An error arising from a Fastly API but of an unanticipated kind, such that we merely package up the low-level error and send it along.
url: https://www.fastly.com/documentation/reference/compute/sdks/python/fastly_compute/exceptions/class.UnexpectedFastlyError/
---

**Kind:** Class  
**Module:** [exceptions](https://www.fastly.com/documentation/reference/compute/sdks/python/fastly_compute/exceptions/)  
**Package:** fastly-compute 0.1.3  
**Source:** https://github.com/fastly/compute-sdk-python/blob/2bffcc6d596a68bcc0b4342404641deff78e68f6/fastly_compute/exceptions/__init__.py#L11

Extends `FastlyError`.

An error arising from a Fastly API but of an unanticipated kind, such
that we merely package up the low-level error and send it along.

Any of these encountered in the wild means we neglected to keep our Python
wrappers up to date with the WIT.

## Constructor

**Source:** https://github.com/fastly/compute-sdk-python/blob/2bffcc6d596a68bcc0b4342404641deff78e68f6/fastly_compute/exceptions/__init__.py#L19

```python
UnexpectedFastlyError(error_value: object)
```

Construct.

**Parameters**

- `error_value`: `object` — The `value` attr of the raised `Err`
