---
title: COMPRESSION_STATUS_ERROR
framework: compression
role: symbol
role_heading: Global Variable
path: compression/compression_status_error
---

# COMPRESSION_STATUS_ERROR

Indicates an error with stream compression.

## Declaration

```swift
var COMPRESSION_STATUS_ERROR: compression_status { get }
```

## Discussion

Discussion If there’s an error with stream compression or decompression, for example if the encoded data is corrupted, compression_stream_process(_:_:) returns COMPRESSION_STATUS_ERROR.

## See Also

### Status Constants

- [COMPRESSION_STATUS_OK](compression/compression_status_ok.md)
- [COMPRESSION_STATUS_END](compression/compression_status_end.md)
