Make_error_code