mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
46ad8d4058
- includes are now sorted in consistent, logical order; first step in an attempt to fix the tomfoolery (no relation to Tom) brought in by include-what-you-use - shuffled around some cmake linking to simplify dependency graph - superfluous files removed
20 lines
353 B
C++
20 lines
353 B
C++
#pragma once
|
|
#include <windows.h>
|
|
|
|
#include <stdexcept>
|
|
#include <string>
|
|
|
|
namespace llarp::win32
|
|
{
|
|
std::string
|
|
error_to_string(DWORD err);
|
|
|
|
class error : public std::runtime_error
|
|
{
|
|
public:
|
|
explicit error(std::string msg);
|
|
virtual ~error() = default;
|
|
explicit error(DWORD err, std::string msg);
|
|
};
|
|
} // namespace llarp::win32
|