---
title: fileTooLarge
framework: system
role: symbol
role_heading: Type Property
path: system/errno/filetoolarge
---

# fileTooLarge

The file is too large.

## Declaration

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

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion The file exceeds the maximum size allowed by the file system. For example, the maximum size on UFS is about 2.1 gigabytes, and about 9,223 petabytes on HFS-Plus and Apple File System. The corresponding C error is EFBIG.

## See Also

### File and Directory Errors

- [attributeNotFound](system/errno/attributenotfound.md)
- [badFileDescriptor](system/errno/badfiledescriptor.md)
- [fileExists](system/errno/fileexists.md)
- [improperLink](system/errno/improperlink.md)
- [isDirectory](system/errno/isdirectory.md)
- [noLocks](system/errno/nolocks.md)
- [noSuchFileOrDirectory](system/errno/nosuchfileordirectory.md)
- [notDirectory](system/errno/notdirectory.md)
- [permissionDenied](system/errno/permissiondenied.md)
- [textFileBusy](system/errno/textfilebusy.md)
