Jul 10, 2019

samdark

Yii 3 got error handler

A handler from Yii 2 was ported over and adjusted. The forum post lists cool features it supports:

  • It converts warnings, notices etc. to exceptions as it was in Yii 2
  • It handles fatals such as parsing errors
  • It handles out of memory
  • Of course, it handles normal exceptions
  • If request context is available, it gives info about request. The format is ready to copy-paste to PhpStorm editor-based HTTP client
  • It logs

Comments (0)

No comments yet.