Thank you !
>instead of always blindly returning an error, one could wrap them in higher level errors and build a sort of error trace
Isn't that basically just reinventing exceptions, sort-of ?
>instead of always blindly returning an error, one could wrap them in higher level errors and build a sort of error trace
Isn't that basically just reinventing exceptions, sort-of ?
Exceptions only contain a function call trace (stack of function calls), while a logical error trace is more like an explicit try/catch/wrap/throw around every call and could be more informative to the end user if done properly.