Global dispatching of errors
Reported by Mark Caudill | 2009-08-08 00:39:23 UTC
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 2009-08-09 16:46:51 UTC
- Assigned user changed from John-David Dalton to Mark Caudill
-

Mark Caudill 2009-08-10 18:20:35 UTC
- 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 2009-08-10 18:26:19 UTC
- State changed from resolved to patched
-

Mark Caudill 2009-08-12 16:36:43 UTC
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 2010-05-29 10:43:23 UTC
- Milestone cleared.
-

Joe Gornick 2010-09-29 09:46:48 UTC
- Assigned user changed from Mark Caudill to John-David Dalton
- Milestone order changed from 0 to 0
-

Kit Goncharov 2011-03-14 22:29:39 UTC
- Tag changed from discuss, feature to feature
-

Joe Gornick 2011-03-22 21:27:16 UTC
- 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.