You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • We should really move fully over to jsException(JSET_ERROR and kill jsError eventually... jsError was used before Espruino had Exceptions, and it's not part of the JavaScript spec at all.

    I'm afraid it's just a bit of a hangover. There are other error types though - TypeError (invalid arguments) and InternalError (stuff that went wrong in Espruino) might be the most useful.

About

Avatar for Gordon @Gordon started