Sha256: 2fddffc96e316fdf3f94d1a9c9584b7b4bd4e88219ff27df5f46626d5992cf51

Contents?: true

Size: 413 Bytes

Versions: 9

Compression:

Stored size: 413 Bytes

Contents

module Dolly
  class ResourceNotFound < RuntimeError
    def to_s
      'The document was not found.'
    end
  end
  class ServerError < RuntimeError
    def to_s
      'There has been an error on the couchdb server. Please review your couch logs.'
    end
  end
  class MissingDesignError < RuntimeError
    def to_s
      'Design document is missing. Add it into couchdb.yml as design:name.'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dolly-0.5.5 lib/exceptions/dolly.rb
dolly-0.5.4 lib/exceptions/dolly.rb
dolly-0.5.3 lib/exceptions/dolly.rb
dolly-0.5.2 lib/exceptions/dolly.rb
dolly-0.5.1 lib/exceptions/dolly.rb
dolly-0.5.0 lib/exceptions/dolly.rb
dolly-0.4.0 lib/exceptions/dolly.rb
dolly-0.3.0 lib/exceptions/dolly.rb
dolly-0.2.0 lib/exceptions/dolly.rb