is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Last modified 10 years ago

#1040 delayed enhancement

remove error code in messages ?

Reported by: laurentj Owned by:
Priority: lowest Milestone: Jelix 2.0.0
Component: jelix Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


study if it is relevant to keep the error code in the message, since we don't use any more trigger_error to generate errors. We could give the error code directly to the constructor of jException.


  • it remove a preg_match in the constructor of jException


  • perhaps it is more difficult to find the line where the exception is thrown, when we have only the error code and the message. We should then have a details documentation of the error codes (ticket #173), and add a @throw tag on doc comments.

Change History (1)

comment:1 Changed 10 years ago by laurentj

  • Status changed from new to delayed
Note: See TracTickets for help on using tickets.