Skip to content

Recommendations

Thieres Tembra edited this page Jun 30, 2016 · 6 revisions

Overall we have some recommendations for you:

  • It is strongly recommended to create your own Application Error Codes class
  • When defining application error codes try to only define members that will not change from occurrence to occurrence of the problem (e.g. title and detail)
  • Members that may change from occurrence to occurrence of the problem can be defined when you raise the error through error function you call (e.g. parameter and meta)

If you misunderstand any concept of this package or simply want to clarify a doubt, do not hesitate to contact me on tdt@mytdt.com.br or post an issue.

Use this package with responsibility and have fun.

I hope I have saved you time :)

← Documentation

Clone this wiki locally