Simplify the BadHexChar exception

Use comment and remove the invalidSymbol tag. Also use asserts.
This commit is contained in:
Alex Beregszaszi
2019-11-26 12:56:11 +01:00
parent fc10fc3073
commit dc351ae5fa
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -51,7 +51,6 @@ DEV_SIMPLE_EXCEPTION(FileError);
DEV_SIMPLE_EXCEPTION(DataTooLong);
// error information to be added to exceptions
using errinfo_invalidSymbol = boost::error_info<struct tag_invalidSymbol, char>;
using errinfo_comment = boost::error_info<struct tag_comment, std::string>;
}