[TIMOB-10799] CodeProcessor: Implement better error messages in built-in exceptions
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-10-09T22:00:22.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | Release 3.1.0, 2012 Sprint 21 JS, 2012 Sprint 21 |
| Components | Code Processor |
| Labels | api, code-analyzer, qe-testadded |
| Reporter | Bryan Hughes |
| Assignee | Bryan Hughes |
| Created | 2012-09-06T12:18:06.000+0000 |
| Updated | 2013-09-24T09:06:14.000+0000 |
Description
Currently, when an exception is thrown, the message is just the type of error (i.e. "SyntaxError"). We should follow what the browsers do and return a more useful exception message.
Pull Request: https://github.com/appcelerator/titanium-code-processor/pull/18
Verified fixed on, Mac OS 10.8.5 Appcelerator Studio, build: 3.1.3.201309132456 sdk-3.1.4.v20130918151553 titanium-code-processor@1.0.3