Sha256: 7d9f68e2207f0f27095a53c2251a591f49f56ad4012f454e24f12c865d55be86

Contents?: true

Size: 728 Bytes

Versions: 36

Compression:

Stored size: 728 Bytes

Contents

module Jekyll
  module S3
    class JekyllS3Error < StandardError
    end

    class NotAJekyllProjectError < JekyllS3Error
      def initialize(message = "I can't find any directory called _site. Are you in the right directory?")
        super(message)
      end
    end

    class NoConfigurationFileError < JekyllS3Error
      def initialize(message = "I've just generated a file called _jekyll_s3.yml. Go put your details in it!")
        super(message)
      end
    end

    class MalformedConfigurationFileError < JekyllS3Error
      def initialize(message = "I can't parse the file _jekyll_s3.yml. It should look like this:\n#{Uploader::CONFIGURATION_FILE_TEMPLATE}")
        super(message)
      end
    end

  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
jekyll-s3-yearofmoo-0.0.15 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.14 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.13 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.12 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.11 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.10 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.9 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.8 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.7 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.6 lib/jekyll-s3-yearofmoo/errors.rb
jekyll-s3-yearofmoo-0.0.5 lib/jekyll-s3/errors.rb
jekyll-s3-yearofmoo-0.0.4 lib/jekyll-s3/errors.rb
jekyll-s3-0.0.4 lib/jekyll-s3/errors.rb
jekyll-s3-0.0.3 lib/jekyll-s3/errors.rb
jekyll-s3-0.0.2 lib/jekyll-s3/errors.rb
jekyll-s3-0.0.1 lib/jekyll-s3/errors.rb