aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/myoption.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/myoption.hh')
-rw-r--r--paludis/repositories/e/myoption.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/repositories/e/myoption.hh b/paludis/repositories/e/myoption.hh
index 871bfc5fd..f8f3e8e31 100644
--- a/paludis/repositories/e/myoption.hh
+++ b/paludis/repositories/e/myoption.hh
@@ -21,6 +21,7 @@
#define PALUDIS_GUARD_PALUDIS_REPOSITORIES_E_MYOPTION_HH 1
#include <paludis/util/attributes.hh>
+#include <paludis/util/exception.hh>
#include <paludis/choice-fwd.hh>
#include <utility>
#include <string>
@@ -29,6 +30,13 @@ namespace paludis
{
namespace erepository
{
+ class PALUDIS_VISIBLE MyOptionsError :
+ public Exception
+ {
+ public:
+ MyOptionsError(const std::string & message) throw ();
+ };
+
std::pair<UnprefixedChoiceName, bool> parse_myoption(const std::string &) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result));
}
}