Michael S. gave feedback that the error returned when you try to call (scalar) increment on a non-integer cache item was not intuitive in helping the user understand what went wrong.
This may be something where we need to wait for additional server-side support for surfacing WrongType errors, but we should look into it and see if we should be handling it better today.