-
Notifications
You must be signed in to change notification settings - Fork 305
Description
I'm not sure whether this should be addressed or how to address it, but the standard error messaging mechanism in the messaging spec is not particularly language agnostic. Specifically, it requires that the kernel provide an error name, an error value, and an error traceback – while these things make sense in many contexts, many environments and languages might not have distinct concepts of error name vs error value, or even have a traceback to include.
(For example, until very recently Haskell did not provide stack traces, so tracebacks were not relevant; I'm not even sure that interpreted Haskell as in IHaskell can currently provide stack traces.)
Whether or not this is significant enough to be worth fixing I'm not sure, but figured I'd point it out for future discussion. I'm not sure what's gained by separating these fields rather than just having the error message include a display_data mimebundle, in the same way that results tend to do.