diff options
Diffstat (limited to 'libsolidity/interface/Exceptions.h')
-rw-r--r-- | libsolidity/interface/Exceptions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libsolidity/interface/Exceptions.h b/libsolidity/interface/Exceptions.h index 81716c41..f4b9fd59 100644 --- a/libsolidity/interface/Exceptions.h +++ b/libsolidity/interface/Exceptions.h @@ -53,7 +53,11 @@ public: Warning }; - explicit Error(Type _type); + explicit Error( + Type _type, + SourceLocation const& _location = SourceLocation(), + std::string const& _description = std::string() + ); Type type() const { return m_type; } std::string const& typeName() const { return m_typeName; } |