I guess it is basic, but still .. how can I check whether I get a ZoneBusy
error?
if error.code == CKErrorCode.ZoneBusy { // <- compiler says can't use '==', then what?
Reference:
It appears that you are missing .rawValue
.
So it should be:
CKErrorCode.ZoneBusy.rawValue