Map all error codes
Implement compareAndSet
Implement compareAndDelete