| 1 | // Copyright (C) Microsoft Corporation. All rights reserved. |
| 2 | #pragma once |
| 3 | |
| 4 | #include "RuntimeErrorWithSourceLocation.h" |
| 5 | #include "Fwd.h" |
| 6 | |
| 7 | class NetlinkParseException : public RuntimeErrorWithSourceLocation |
| 8 | { |
| 9 | public: |
| 10 | NetlinkParseException(const NetlinkResponse& response, const std::string& reason, const std::source_location& source = std::source_location::current()); |
| 11 | |
| 12 | private: |
| 13 | static std::string BuildMessage(const NetlinkResponse& response, const std::string& reason); |
| 14 | }; |