Structures
The following structures are available globally.
-
Thrown when a string cannot be created with the requested encoding
See moreDeclaration
Swift
public struct InvalidString : Error
-
Thrown when a string cannot be encoded with the requested incoding
See moreDeclaration
Swift
public struct StringEncodingError : Error
-
An error thrown by some forms of running caused when the exit code of the child process is non-zero
See moreDeclaration
Swift
public struct ExitCodeFailure : Error, CustomStringConvertible
-
A simple wrapper around Int32
See moreDeclaration
Swift
public struct FileDescriptor : RawRepresentable, ExpressibleByIntegerLiteral
extension FileDescriptor: Hashable, Equatable, CustomStringConvertible
-
A wrapper to convert a
See moreFileHandle
into aTextOutputStream
Declaration
Swift
public struct FileHandleTextStream : TextOutputStream
-
A process spawned with something less nice than
See moreposix_spawn
-
A process spawned with
See moreposix_spawn
Declaration
Swift
public struct PosixSpawn : ProcessSpawner
-
Thrown when changing directory fails. Could be because directory doesn’t exist, or permissions prevent it.
Declaration
Swift
public struct ChangeDirectoryFailedError : Error