Check error code in nuodb_handler_doer