Change src.name=name to src.name= name || src.name inside of exception/New().
I had an idea to make some standardized error emissions, and it would be absolutely trivial to just make new error typedefs with custom names. Problem is that exception/New() deletes the names. I could override New(), but that adds overhead where it's not necessary.
ID:2924554
May 11, 4:59 pm
|
|||||||
Resolved
| |||||||