* h_program-lang/errors_code.ml: moved code from graph_code_checker here