We do a trick I am not proud of. Because all of our errors are Strings, we don't have a way to separate a name error from an index error, for instance. What I do in prepend the error with a string that indicates where it comes from.
WebApp
The folder app.ironcalc.com contains the frontend and backend code deployed at https://app.ironcalc.com
The folder IronCalc contains the actual code for the spreadsheet widget as found in: