<commit_before>// src/exception.hpp
//
//

#ifndef URPC_EXCEPTION_HPP
#define URPC_EXCEPTION_HPP

#include <stdexcept>

namespace urpc {

class NoDnsServerFound : public std::runtime_error {
  public:
    explicit NoDnsServerFound (const std::string& what)
      : std::runtime_error (what) {}
};
class NoSrvRecordFound : public std::runtime_error {
  public:
    explicit NoSrvRecordFound (const std::string& what)
      : std::runtime_error (what) {}
};
class GlobError : public std::runtime_error {
  public:
    explicit GlobError (const std::string& what)
      : std::runtime_error (what) {}
};

}

#endif // URPC_EXCEPTION_HPP<commit_msg>only one should really be an error<commit_after>// src/exception.hpp
//
//

#ifndef URPC_EXCEPTION_HPP
#define URPC_EXCEPTION_HPP

#include <stdexcept>

namespace urpc {

class GlobError : public std::runtime_error {
 public:
  explicit GlobError (const std::string& what)
      : std::runtime_error (what) {}
};

}

#endif // URPC_EXCEPTION_HPP
{'fraction_non_alphanumeric': 0.1191919191919192, 'fraction_numerical': 0.0, 'mean_word_length': 4.385869565217392, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4965312', 'n_tokens_mistral': 346, 'n_tokens_neox': 337, 'n_words': 77}