SyscallError

public class SyscallError : Error, CommandResult, CustomStringConvertible

A generic error from a syscall

  • A short description of the operation that generated the error

    Declaration

    Swift

    public let name: String
  • The errno set by the failing instruction

    Declaration

    Swift

    public let errno: Int32
  • Declaration

    Swift

    public let command: Command
  • Declaration

    Swift

    public var isRunning: Bool { get }
  • Declaration

    Swift

    public func exitCode() -> Int32
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public func succeed() throws
  • Declaration

    Swift

    public func kill(signal: Int32) throws