GEDLIB  1.0
error.hpp
Go to the documentation of this file.
1 /***************************************************************************
2 * *
3 * Copyright (C) 2018 by David B. Blumenthal *
4 * *
5 * This file is part of GEDLIB. *
6 * *
7 * GEDLIB is free software: you can redistribute it and/or modify it *
8 * under the terms of the GNU Lesser General Public License as published *
9 * by the Free Software Foundation, either version 3 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * GEDLIB is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU Lesser General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU Lesser General Public *
18 * License along with GEDLIB. If not, see <http://www.gnu.org/licenses/>. *
19 * *
20 ***************************************************************************/
21 
27 #ifndef SRC_ENV_ERROR_HPP_
28 #define SRC_ENV_ERROR_HPP_
29 
30 #include <stdexcept>
31 
32 namespace ged {
33 
37 class Error : public std::runtime_error {
38 
39 public:
40 
45  Error(const std::string & message);
46 
47 };
48 
49 }
50 
51 #include "error.ipp"
52 
53 #endif /* SRC_ENV_ERROR_HPP_ */
Error(const std::string &message)
Constructor.
Definition: error.ipp:33
Runtime error class.
Definition: error.hpp:37
Global namespace for GEDLIB.
ged::Error class definition.