Exception: CouchObject::Errors::NoDatabaseLocationSet

Inherits:
StandardError
  • Object
show all
Defined in:
lib/couch_object/error_classes.rb

Overview

Is raised when a method that interacts with the document store is called and the location variable has not been set

Instance Method Summary collapse

Instance Method Details

#messageObject Also known as: to_s



27
28
29
30
31
# File 'lib/couch_object/error_classes.rb', line 27

def message
  "Unless the document has previously been saved you need to " + \
  "supply the full URI to the CouchDB server where the document " +  \
  "is to be saved."
end