I developed a web application.

When users call my application, my application may failed and it will returns FAIL.

Some users will retry when they received FAIL.

Sometimes it works, but in some cases, my application knows the retry won't recover from that failure. So I want to it returns a new state to indicate a failure which can't recover from retries.

So which is the proper word for that case?

By the way, my application will returns [INIT,DOING,SUCC,FAIL], and means:

  • INIT: app is initializing
  • DOING: app is working for user's request
  • SUCC: user's request done successfully
  • FAIL: user's request failed
  • 1
    I'd just say it's an unrecoverable failure, personally. – John Clifford Mar 23 '16 at 8:51
  • How about UNAVAILABLE ? It means my app is not available for your request. @JohnClifford – Sayakiss Mar 23 '16 at 9:01
  • 1
    The problem there is that people might think that's just temporary unavailability and retry anyway. Specifying "unrecoverable" makes it clear that trying again won't work. – John Clifford Mar 23 '16 at 9:02
  • @JohnClifford Really thanks and I will use unrecoverable. – Sayakiss Mar 23 '16 at 9:24
  • @JohnClifford My merge request was rejected and we decide to use UNABLE... Because unrecoverable is too long for other developers... – Sayakiss Mar 23 '16 at 11:05

The corresponding value issued from the logging system commonly used in the Java world is FATAL. If the FATAL status occurs, you'll know for sure that the application won't recover from this final state..

  • Thanks your advice, but I think it's hard to let an ordinary user have a sense that FATAL means unrecoverable ... – Sayakiss Mar 24 '16 at 0:48
  • You think people don't know what a fatality is? Maybe you I right, it's difficult to guess – Ludovic Frérot Mar 24 '16 at 7:47
  • My web application is for Chinese users which English may be very poor.. – Sayakiss Mar 24 '16 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.