-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Now we've handled textual errors pretty well, but there's another non-textual case, like runtime errors, #50, #72.
I think it can be solved by adding Caused by.
For example, IO Error should be
[E001] Error: File Not Found
Caused by:
path/of/filesOther runtime errors can be:
[E002] Error: Runtime error, reasons...
Caused by:
path/of/call_site1(line:col)
path/of/call_site2(line:col)
path/of/call_site3(line:col)Are there any other suggestions?
This is not about compatibility, can I submit a PR for this feature?
Metadata
Metadata
Assignees
Labels
No labels