cython updates

Minor fixes for 1) new lockdown error enum members and 1) a fix for BaseError when the error code's message is not in the internal lookup table.