Sha256: f8e0cf8cd1e886744087888bd7440ced7ddff6191abd16a2ee473061009ade16

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

class Bard::CLI < Thor
  class NonFastForwardError < Bard::CLI::Error
    def message
      "Someone has pushed some changes since you last pulled.\n  Kindly run bard pull, ensure that your your changes still work, and try again"
    end
  end

  class MasterNonFastForwardError < Bard::CLI::Error
    def message
      "The master branch has advanced since last deploy, probably due to a bugfix.\n  Rebase your branch on top of it, and check for breakage."
    end
  end
  
  class TestsFailedError < Bard::CLI::Error
    def message
      "Automated tests failed!\n  See #{super} for more info."
    end
  end

  class TestsAbortedError < Bard::CLI::Error
    def message
      "Automated tests aborted!\n  See #{super} for more info."
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bard-0.23.0 lib/bard/error.rb