paludis Version 3.0.2
The one true package mangler
fs_error.hh
1/* vim: set sw=4 sts=4 et foldmethod=syntax : */
2
3/*
4 * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
5 * Copyright (c) 2006 Mark Loeser
6 *
7 * This file is part of the Paludis package manager. Paludis is free software;
8 * you can redistribute it and/or modify it under the terms of the GNU General
9 * Public License version 2, as published by the Free Software Foundation.
10 *
11 * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18 * Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21#ifndef PALUDIS_GUARD_PALUDIS_FS_ERROR_HH
22#define PALUDIS_GUARD_PALUDIS_FS_ERROR_HH 1
23
25
26namespace paludis
27{
28 /**
29 * Generic filesystem error class.
30 *
31 * \ingroup g_exceptions
32 * \ingroup g_fs
33 * \nosubgrouping
34 */
35 class PALUDIS_VISIBLE FSError :
36 public Exception
37 {
38 public:
39 ///\name Basic operations
40 ///\{
41
42 FSError(const std::string & message) noexcept;
43 FSError(int error, const std::string & message) noexcept;
44
45 ///\}
46 };
47}
48
49#endif
const std::string & message() const noexcept
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24