| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/QuantStack/git2cpp/0.0.3/src/utils/git_exception.hpp | [Back] [Original] |
#pragma once
#include
#include
void throw_if_error(int exit_code);
class git_exception : public std::exception
{
public:
git_exception(const std::string& message, int error_code);
int error_code() const;
const char* what() const noexcept override;
private:
std::string m_message;
int m_error_code;
};
| Web Proxy Viewer | New URL | Original Page |