Const Errors
Errors: object
ChangeError
ChangeError: Error = new Error("Unable to process db change(s)")
LocalChangesError
LocalChangesError: Error = new Error("Unpushed local changes")
MissingDbError
MissingDbError: Error = new Error("Missing remote db/thread")
NoRemoteError
NoRemoteError: Error = new Error("No remote service host specified")
RemoteError
RemoteError: Error = new Error("Remote operation failed")
ThreadExists
ThreadExists: Error = new Error("Remote db/thread already exists")
ThreadIDError
ThreadIDError: Error = new Error("Missing/invalid thread id")
Document is any JSON object with an _id field. It can be operated on directly, and its updates should be reflected in its saved state.