Global dispatching of errors
Reported by Mark Caudill | August 8th, 2009 @ 12:39 AM
We need to add a global dispatch for errors. Some basic ideas are a debugging flag to determine if we should throw the error, a feature check for console/console.log that determines if we should log the error information, and pretty much making error reporting awesome so we can get good bug reports instead of assumptions as to what is or isn't working.
Comments and changes to this ticket
-
Mark Caudill August 9th, 2009 @ 04:46 PM
- Assigned user changed from John-David Dalton to Mark Caudill
-
Mark Caudill August 10th, 2009 @ 06:20 PM
- State changed from new to resolved
Namespace Fuse.Exception part: https://github.com/jdalton/fusejs/commit/71e048722a4d412a0b93b86c6d...
Querystring param part: http://github.com/jdalton/fusejs/commit/6d39ee6d5a1cc256932b70b83ba...Juriy brought up the great point of a customized "console" that can utilize console.log/console.info, opera.postError, and Jaxer's logger. I'm in favor of adding that to Fuse.Exception (e.g. Fuse.Exception.console) rather than Fuse.console. Are there any real benefits to having Fuse.console vs Fuse.Exception.console or will we be using "console" anywhere else? Does anyone have any requests beyond that functionality?
-
Mark Caudill August 10th, 2009 @ 06:26 PM
- State changed from resolved to patched
-
Mark Caudill August 12th, 2009 @ 04:36 PM
Here's what I came up with so far: https://gist.github.com/1bf764be412d5c956086
Have a look over it and see if there is anything that should be changed.
- Also, should this be Exception or Console for the namespace? Is that the idea Juriy's had purposed? E.g. Fuse.Console.error(...), Fuse.Console.log(...), Fuse.Console.info(...)
-
John-David Dalton May 29th, 2010 @ 10:43 AM
- Milestone cleared.
-
Joe Gornick September 29th, 2010 @ 09:46 AM
- Assigned user changed from Mark Caudill to John-David Dalton
- Milestone order changed from 0 to 0
-
Kit Goncharov March 14th, 2011 @ 10:29 PM
- Tag changed from discuss, feature to feature
-
Joe Gornick March 22nd, 2011 @ 09:27 PM
- State changed from patched to new
Removing patched state since commit doesn't exist in forked branch. Will review later.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.
People watching this ticket
Tags
Referenced by
- 25 Start to throw errors in methods instead of return See #52 which begins addressing this concern.