How is kLAErrorPasscodeNotSet triggered?

I tried removing all fingerprints, disabling the passcode, both at the same time, but all i get is kLAErrorTouchIDNotEnrolled
Can somebody explain this to me, please?