Fixed compilation error in error_code