Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10799] CodeProcessor: Implement better error messages in built-in exceptions

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-10-09T22:00:22.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2012 Sprint 21 JS, 2012 Sprint 21
ComponentsCode Processor
Labelsapi, code-analyzer, qe-testadded
ReporterBryan Hughes
AssigneeBryan Hughes
Created2012-09-06T12:18:06.000+0000
Updated2013-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.

Comments

  1. Bryan Hughes 2012-10-09

    Pull Request: https://github.com/appcelerator/titanium-code-processor/pull/18
  2. Shreya Chowbey 2013-09-24

    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

JSON Source