BenWoodworth / Parameterize

Kotlin syntax for clean parameterized code
Apache License 2.0
37 stars 3 forks source link

Have `ParameterizeException` list the arguments at the time it was thrown #19

Open BenWoodworth opened 11 months ago

BenWoodworth commented 11 months ago

Since it could be helpful in figuring out why it might've occurred.

Either in the message or as a property that can be looked at while debugging.

And maybe only the parameters that were used before the exception was thrown. For example, this ParameterizeException:

Previous iteration executed to this point successfully, but now failed with the same arguments