Sha256: b25cd124a38882f8210d24400cdb7d996b804400f8430fd8bcb443dd73feea10

Contents?: true

Size: 768 Bytes

Versions: 5

Compression:

Stored size: 768 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 integration 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

5 entries across 5 versions & 1 rubygems

Version Path
bard-0.22.2 lib/bard/error.rb
bard-0.22.1 lib/bard/error.rb
bard-0.22.0 lib/bard/error.rb
bard-0.21.0 lib/bard/error.rb
bard-0.20.0 lib/bard/error.rb