summaryrefslogtreecommitdiff
path: root/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'option.h')
-rw-r--r--option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/option.h b/option.h
index fa908eff..23439b9d 100644
--- a/option.h
+++ b/option.h
@@ -45,7 +45,7 @@ void process_environment(const char ** envp, const string& tag,
void process_arguments(int argc, char ** argv, const bool anywhere,
scope_t& scope, std::list<string>& args);
-DECLARE_EXCEPTION(error, option_error);
+DECLARE_EXCEPTION(option_error, std::runtime_error);
} // namespace ledger