daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

More detailed error messages from kernels #754

Open pdamme opened 5 months ago

pdamme commented 5 months ago

Many kernels validate their inputs in some way. If a required condition is not satisfied, kernels typically throw an exception indicating this fact. However, to make the error messages actionable, they should contain more details.

For instance, if the number of rows of two inputs must match, it is not maximally helpful to only know that they did not match, it would more helpful to know what the different numbers of rows were.

We should double-check all exceptions thrown in kernels to make sure that they contain sufficient information.