-
Notifications
You must be signed in to change notification settings - Fork 0
exceptionMsg
Corey Avis edited this page Sep 23, 2026
·
2 revisions
Accepts a caught exception object, generates a stylized developer debug block, writes to the server error log, and strictly halts script execution.
exceptionMsg(\Throwable $exception): void
exception : Any native object implementing PHP's Throwable interface (Exceptions or Errors).
(void) : Returns no value.
Terminates execution via
exit(1). The stylish debug visual will render to the screen only ifdisplay_errorsis enabled or if the debug configuration option evaluates totrue.