errors: generate python error codes for NTSTATUS