Sha256: b158045bc7cef618a337a40b8d62a007d8559eab95d115563620d38136ce9aea

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module JekyllPush
  module Error
    #
    #
    class RainbowError < StandardError
      def initialize(msg = '')
        super Rainbow(msg).magenta
      end
    end

    class MissingBranch < RainbowError; end
    class NoFilesBuilt  < RainbowError; end
    class NoOrigin      < RainbowError; end
    class SystemCall    < RainbowError; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll_push-0.1.0 lib/jekyll_push/error.rb