Mutagen-Modding / Mutagen.Bethesda.Analyzers

A project to diagnose and analyze the health of a mod or a load order
GNU General Public License v3.0
18 stars 5 forks source link

Mutagen Parse Issue Generic Topic #120

Open Noggog opened 2 months ago

Noggog commented 2 months ago

Maybe define a topic that is raised if mutagen has a problem parsing a record, for any reason. This would be fulfilled by parsing the record in a non-lazy fashion, and catching any exceptions thrown.

This might be a prereq to calling any isolated record analyzers? Would prevent them from having exceptions thrown within themselves. Downside being analyzers that wouldn't throw on the fields they are interested in looking at wouldn't run at all.

Maybe the solution is that the user can specify (somehow) that they dont want this to be checked on record XYZ, and that would allow the individual analyzers to run anyway, and throw as needed. Opt in sorta thing.