i3ipc::errno_error

This commit is contained in:
Sergey Naumov
2016-09-06 19:44:24 +03:00
parent f2ef2b803b
commit 516f78f255
3 changed files with 27 additions and 6 deletions

View File

@@ -49,6 +49,15 @@ class eof_error : public ipc_error { using ipc_error::ipc_error; };
*/
class invalid_reply_payload_error : public ipc_error { using ipc_error::ipc_error; };
/**
* @brief If any error occured, while using C-functions
*/
class errno_error : public ipc_error {
public:
errno_error();
errno_error(const std::string& msg);
};
/**
* @brief Messages (requests), that can be sended from the client