One more question, you mention ex-data is now part of all exceptions? Can you clarify what that means?
What will the ex-data map look like? Does it mean we can start relying on ex-data to identify the exact kind of exceptions for all of core? Will ex-data have a spec?
One more question, you mention ex-data is now part of all exceptions?
Not all, but CompilerException wrappers now implement IExceptionInfo and have ex-data. These are the important ones to convey the location in the user's source being read/macroexpanded/compiled. Runtime errors will just flow as is, so it's up to you to throw ex-info where you want to.
What will the ex-data map look like?
Here's a wip example, won't commit to any of this yet:
4
u/didibus Aug 11 '18
One more question, you mention ex-data is now part of all exceptions? Can you clarify what that means?
What will the ex-data map look like? Does it mean we can start relying on ex-data to identify the exact kind of exceptions for all of core? Will ex-data have a spec?
Thanks