---
title: IncompatibleStackingError
framework: diskimagekit
role: symbol
role_heading: Structure
path: diskimagekit/incompatiblestackingerror
---

# IncompatibleStackingError

The appended layer isn’t compatible with the existing stack.

## Declaration

```swift
struct IncompatibleStackingError
```

## Topics

### Instance Properties

- [reason](diskimagekit/incompatiblestackingerror/reason.md)

## Relationships

### Conforms To

- [Error](swift/error.md)
- [LocalizedError](foundation/localizederror.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Errors

- [InvalidBlockCountError](diskimagekit/invalidblockcounterror.md)
- [CorruptedImageError](diskimagekit/corruptedimageerror.md)
- [UnsupportedFormatError](diskimagekit/unsupportedformaterror.md)
