---
title: noSpace
framework: system
role: symbol
role_heading: Type Property
path: system/errno/nospace
---

# noSpace

Device out of space.

## Declaration

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

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion A write to an ordinary file, the creation of a directory or symbolic link, or the creation of a directory entry failed because there aren’t any available disk blocks on the file system, or the allocation of an inode for a newly created file failed because there aren’t any inodes available on the file system. The corresponding C error is ENOSPC.

## See Also

### File System Errors

- [badFileTypeOrFormat](system/errno/badfiletypeorformat.md)
- [directoryNotEmpty](system/errno/directorynotempty.md)
- [diskQuotaExceeded](system/errno/diskquotaexceeded.md)
- [readOnlyFileSystem](system/errno/readonlyfilesystem.md)
- [tooManyLinks](system/errno/toomanylinks.md)
- [tooManyOpenFilesInSystem](system/errno/toomanyopenfilesinsystem.md)
- [tooManyOpenFiles](system/errno/toomanyopenfiles.md)
