The Serilog parser has two extension methods SelectCatch(,,string error message) that does a select, but if that select throws, instead results in an error with the given message.
I think these are useful enough to introduce more generally in Superpower.
The Serilog parser has two extension methods SelectCatch(,,string error message) that does a select, but if that select throws, instead results in an error with the given message.
I think these are useful enough to introduce more generally in Superpower.