---
title: illegalByteSequence
framework: system
role: symbol
role_heading: Type Property
path: system/errno/illegalbytesequence
---

# illegalByteSequence

Illegal byte sequence.

## Declaration

```swift
static var illegalByteSequence: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion While decoding a multibyte character, the function encountered an invalid or incomplete sequence of bytes, or the given wide character is invalid. The corresponding C error is EILSEQ.

## See Also

### General Errors

- [badMessage](system/errno/badmessage.md)
- [canceled](system/errno/canceled.md)
- [noData](system/errno/nodata.md)
- [noMessage](system/errno/nomessage.md)
- [noSuchPolicy](system/errno/nosuchpolicy.md)
- [notPermitted](system/errno/notpermitted.md)
- [notRecoverable](system/errno/notrecoverable.md)
- [outputQueueFull](system/errno/outputqueuefull.md)
- [tooManyReferences](system/errno/toomanyreferences.md)
- [tooManyUsers](system/errno/toomanyusers.md)
