Closed Bug 193968 Opened 22 years ago Closed 14 years ago

Need a Throw*Error for transient error types

Categories

(Bugzilla :: Bugzilla-General, enhancement)

2.17.3
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: justdave, Assigned: LpSolit)

References

Details

(Whiteboard: [blocker will fix])

ThrowCodeError gives the user a message that says "this is really broken, email this page to the maintainer right now" or something to that effect. ThrowUserError says "Press Back and try again" We need something in between the two for transient errors (like a failure to connect to the database for example) which says "if this problem persists, mail this page to the maintainer" so the maintainer doesn't get a deluge of mail if the network goes down for 2 or 3 minutes, but they still get the idea that they should report it if it doesn't go away...
We need real exceptions... (That has to be post mod_per though, since we have to do that at compile time rather than run time via require)
You could use the message function... It seems like the only class of transient errors is database-related - or can you think of some more? Gerv
Reassigning bugs that I'm not actively working on to the default component owner in order to try to make some sanity out of my personal buglist. This doesn't mean the bug isn't being dealt with, just that I'm not the one doing it. If you are dealing with this bug, please assign it to yourself.
Assignee: justdave → general
QA Contact: mattyt-bugzilla → default-qa
*** Bug 314828 has been marked as a duplicate of this bug. ***
*** Bug 285660 has been marked as a duplicate of this bug. ***
*** Bug 237746 has been marked as a duplicate of this bug. ***
Assignee: general → LpSolit
Severity: normal → enhancement
Status: NEW → ASSIGNED
Depends on: 288049
Whiteboard: [blocker will fix]
Target Milestone: --- → Bugzilla 5.0
Fixed by bug 288049.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.