KISSCPP
a C++ library for rapid application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
request_status.hpp
Go to the documentation of this file.
1 // File : request_status.hpp
2 // Author: Dirk J. Botha <bothadj@gmail.com>
3 //
4 // This file is part of kisscpp library.
5 //
6 // The kisscpp library is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU Lesser General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // The kisscpp library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public License
17 // along with the kisscpp library. If not, see <http://www.gnu.org/licenses/>.
18 
19 #ifndef __REQUEST_STATUS_HPP__
20 #define __REQUEST_STATUS_HPP__
21 
22 #include <stdexcept>
23 #include <string>
24 
25 namespace kisscpp
26 {
31 
42  };
43 
44  //--------------------------------------------------------------------------------
45  class RetryableCommsFailure : public std::runtime_error
46  {
47  public:
48  RetryableCommsFailure(std::string s) : std::runtime_error(s) {};
49  };
50 
51  //--------------------------------------------------------------------------------
52  class PerminantCommsFailure : public std::runtime_error
53  {
54  public:
55  PerminantCommsFailure(std::string s) : std::runtime_error(s) {};
56  };
57 }
58 
59 #endif // __COMMUNICATION_ERRORS_HPP__
60 
The Client is not in the white list and my not communicate to this process.
Definition: request_status.hpp:39
No matching identifier for the supplied value of kcm-cmd was found.
Definition: request_status.hpp:34
used by server applications to inform requesters that a request won't be processed due to server over...
Definition: request_status.hpp:37
used to indicate the absence of an expected parameter
Definition: request_status.hpp:36
used by server applications to inform requesters that a request won't be processed due to the server ...
Definition: request_status.hpp:38
RequestStatus
Definition: request_status.hpp:32
Sorry, I don't know what went wrong.
Definition: request_status.hpp:41
PerminantCommsFailure(std::string s)
Definition: request_status.hpp:55
Definition: request_status.hpp:52
Definition: request_status.hpp:45
used to indicate invalid values for supplied parameters
Definition: request_status.hpp:35
RetryableCommsFailure(std::string s)
Definition: request_status.hpp:48
The request was successfully processed.
Definition: request_status.hpp:33
for use by apps that need to report on an internal processing failure not related to KISSCPP communic...
Definition: request_status.hpp:40