Loading ...
Sorry, an error occurred while loading the content.

405Unused e from catch(e)

Expand Messages
  • Fred Lorrain
    Mar 23, 2009
    • 0 Attachment
      If I have such kind of code

      try {
      catch (e) {}

      Means I don't care about e, I will not use it.
      Unfortunately I have to write catch(e) because catch must have an

      The validation will return in the listing of variables:
      Unused e

      Of course this is trivial, but is there a way to avoid it ?
      Maybe it's not good practice to not set anything in catch(e) ?

      [Non-text portions of this message have been removed]
    • Show all 2 messages in this topic