IniLikeEntryException if value is invalid.
auto ilf = new IniLikeFile(); ilf.addGenericGroup("Group"); auto entryException = collectException!IniLikeEntryException(ilf.group("Group")["Key"] = "New\nline"); assert(entryException !is null); assert(entryException.key == "Key"); assert(entryException.value == "New\nline");
Validate value for key before setting value to key for this group and throw exception if not valid. Can be reimplemented in derived classes.
Default implementation checks if value is escaped.