Every error zutoml raises carries a condition class, so it can be caught
by kind rather than by matching the message, which may change. Every
class below inherits from zutoml_error.
Details
zutoml_invalid_argumentAn argument was unusable, or a value cannot be written as TOML as given, such as a list with partial names or a string that is not valid UTF-8. Carries
arg, the argument at fault.zutoml_parse_errorThe document is not TOML. Carries
lineandcolumn(1-based, in characters),offset(0-based, in bytes) andkind, the name of the rule broken, such as"bad_escape"or"table_redefined".zutoml_unrepresentableThe document is valid TOML but holds a value R cannot: a string containing U+0000, a string longer than an R string, or an integer beyond 2^53 with
big_integers = "error".zutoml_unsupported_typeAn R value has no TOML form, such as a function, a raw vector or a matrix. Carries
path, the key path of the value, asa.b[3].c.zutoml_na_errorAn
NAorNULLvalue withna = "error". Carriespath.zutoml_limit_errorA limit was reached. The subclasses
zutoml_size_limit,zutoml_depth_limit,zutoml_item_limitandzutoml_string_limitname which one. Carrieslimit, the argument's name, such as"max_depth", andlimit_value.zutoml_io_errorA file, URL or connection could not be opened, read or written.
zutoml_missing_keytoml_parse()'sselectnames a path the document does not have. Carriespath, the path asked for, andfound, the part of it that exists.