equinor / configsuite

Config Suite is the result of recognizing the complexity of software configuration.
Other
7 stars 13 forks source link

More detailed validation error messages #147

Open markusdregi opened 4 years ago

markusdregi commented 4 years ago

Some times the current decorator just does not cut it. It basically allows you to specify a statement that will be attached in the docs, and where errors will be on formatted as {statement} is False on input {the input}. This is not always not the most descriptive format and occasionally we would like to be able to return more detailed error messages depending on the situation.

I would like to expose and make part of the documentation the

Then the current decorator can be a thin wrapper on top of the two, but still it can allow the consumer more control when necessary.