def get_and_subtract(self, delta):
return self._invoke_internal(pn_counter_add_codec, delta=-<NUM_LIT:1> * delta, get_before_update=True)<EOL>
Subtracts the given value from the current value and returns the previous value.

:raises NoDataMemberInClusterError: if the cluster does not contain any data members.
:raises UnsupportedOperationError: if the cluster version is less than 3.10.
:raises ConsistencyLostError: if the session guarantees have been lost.

:param delta: (int), the value to subtract.
:return: (int), the previous value.