invalidArgument
A provided argument was not valid for the operation.
static var invalidArgument: Self { get }
A provided argument was not valid for the operation.
static var invalidArgument: Self { get }
s14_NIOFileSystem04FileB5ErrorV4CodeV15invalidArgumentAEvpZ
What are these?88GPN
import _NIOFileSystem
A file system library for Swift.
struct Code
A high level indication of the kind of error being thrown.
struct FileSystemError
An error thrown as a result of interaction with the file system.
static var closed: Self { get }
An operation on the file could not be performed because the file is closed (or detached).
static var fileAlreadyExists: Self { get }
The file already exists.
static var io: Self { get }
An I/O error occurred.
static var notEmpty: Self { get }
The directory wasn’t empty.
static var notFound: Self { get }
The file could not be found.
static var permissionDenied: Self { get }
The caller did not have sufficient permission to perform the operation.
static var resourceExhausted: Self { get }
A required resource was exhausted.
static var unavailable: Self { get }
The file system is not currently available, for example if the underlying executor is not running.
static var unknown: Self { get }
The error is not known or may not have an appropriate classification. See cause
for more information about the error.
static var unsupported: Self { get }
The operation is not supported or is not enabled.
var description: String { get }