CommandError

public enum CommandError: Error, Equatable

Error type for commands.

  • Exit code was not zero.

    Declaration

    Swift

    case returnedErrorCode(command: String, errorcode: Int)
  • Command could not be executed.

    Declaration

    Swift

    case inAccessibleExecutable(path: String)
  • Exit code for this error.

    Declaration

    Swift

    public var errorcode: Int
  • Declaration

    Swift

    public var description: String