added error_codes dep for index_set lib #869