Fix: separate the root of the error from the error message #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NTBBloodbath/fallo#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, when an error occurs we return the root function alongside the error message in a single string, e.g.
err.message -> "foo:28: Division by zero".It would be better if we separate those things in
err.sourceanderr.messagerespectively, as sometimes we won't need to use the sourcefile:line.