---
title: InvalidBlockCountError
framework: diskimagekit
role: symbol
role_heading: Structure
path: diskimagekit/invalidblockcounterror
---

# InvalidBlockCountError

The block count specified for the disk image is invalid (zero or negative).

## Declaration

```swift
struct InvalidBlockCountError
```

## Relationships

### Conforms To

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

## See Also

### Errors

- [IncompatibleStackingError](diskimagekit/incompatiblestackingerror.md)
- [CorruptedImageError](diskimagekit/corruptedimageerror.md)
- [UnsupportedFormatError](diskimagekit/unsupportedformaterror.md)
