Currently the variant library has no "type_error". I believe this means that mistakes (getting types wrong) in json files will abort with no message.
NB the exception thrown by nlohmann is not much better (it doesn't say where the problem comes from).
@theim @wittgen