aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/interface/Exceptions.h')
-rw-r--r--libsolidity/interface/Exceptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/interface/Exceptions.h b/libsolidity/interface/Exceptions.h
index 81716c41..71699da8 100644
--- a/libsolidity/interface/Exceptions.h
+++ b/libsolidity/interface/Exceptions.h
@@ -55,6 +55,8 @@ public:
explicit Error(Type _type);
+ Error(Type _type, std::string const& _description, SourceLocation const& _location = SourceLocation());
+
Type type() const { return m_type; }
std::string const& typeName() const { return m_typeName; }