aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-24 18:25:33 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-04-24 18:34:02 +0800
commit3cd02ca1481131773e8bde952c6d7f76dec4ed3a (patch)
treebbe0d19fd89e90b30887aa73bdff907f5b6ae099 /libsolidity/interface
parent4a3fb9638179a4a7d4b40afb44308e56573c63e0 (diff)
downloaddexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar.gz
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar.bz2
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar.lz
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar.xz
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.tar.zst
dexon-solidity-3cd02ca1481131773e8bde952c6d7f76dec4ed3a.zip
Change error type names to not include spaces
Diffstat (limited to 'libsolidity/interface')
-rw-r--r--libsolidity/interface/Exceptions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libsolidity/interface/Exceptions.cpp b/libsolidity/interface/Exceptions.cpp
index 968a24ad..c09180de 100644
--- a/libsolidity/interface/Exceptions.cpp
+++ b/libsolidity/interface/Exceptions.cpp
@@ -33,22 +33,22 @@ Error::Error(Type _type, SourceLocation const& _location, string const& _descrip
switch(m_type)
{
case Type::DeclarationError:
- m_typeName = "Declaration Error";
+ m_typeName = "DeclarationError";
break;
case Type::DocstringParsingError:
- m_typeName = "Docstring Parsing Error";
+ m_typeName = "DocstringParsingError";
break;
case Type::ParserError:
- m_typeName = "Parser Error";
+ m_typeName = "ParserError";
break;
case Type::SyntaxError:
- m_typeName = "Syntax Error";
+ m_typeName = "SyntaxError";
break;
case Type::TypeError:
- m_typeName = "Type Error";
+ m_typeName = "TypeError";
break;
case Type::Why3TranslatorError:
- m_typeName = "Why3 Translator Error";
+ m_typeName = "Why3TranslatorError";
break;
case Type::Warning:
m_typeName = "Warning";