--------------Error
| 90 | |
| 91 | //--------------Error |
| 92 | ServerError::ServerError(Templateiser& ts) { |
| 93 | ts.addKey("error", this); |
| 94 | ts.addIF("error", this); |
| 95 | } |
| 96 | |
| 97 | void ServerError::keyCallback(std::string& data, const std::string& /*key*/) { |
| 98 | data += errorMessage; |