Exception: Couchbase::Error::DeltaInvalid
- Inherits:
-
CouchbaseError
- Object
- StandardError
- CouchbaseError
- Couchbase::Error::DeltaInvalid
- Defined in:
- lib/couchbase/errors.rb,
/code/couchbase-ruby-client/lib/couchbase/errors.rb
Overview
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid. In this SDK, this is equivalent to saying that the delta is zero.
Note that the server also returns the corresponding error code when the delta value itself is too big, or not a number, but since the SDK enforces deltas to be of type long, these cases shouldn’t come up.
Instance Attribute Summary
Attributes inherited from CouchbaseError
Method Summary
Methods inherited from CouchbaseError
Constructor Details
This class inherits a constructor from Couchbase::Error::CouchbaseError