[BuildSystem] Factor out error() helper method, for improving recovery.
[BuildSystem] Factor out error() helper method, for improving recovery.

apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild