~/talk

The World of Laravel Exceptions

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [php]
slides:none on file

Concrete Laravel techniques for structuring exceptions: create custom exception classes that implement an interface so you can catch by type, attach contextual arrays for richer logging, and route reports to Sentry or other providers via the Exception Handler’s report/render methods. Shows how to render responses or redirects, disable debug leaks in production, use the global rescue helper as a concise try/catch, and explains that queued job exceptions bypass the HTTP handler so jobs must handle failures themselves; includes practical code snippets and config locations.

AI-written summary · about

  1. 0:00Laravel exceptions intro
  2. 1:42Base exception class
  3. 3:07User registration exceptions
  4. 5:57Custom exception classes
  5. 7:26Extending exception handler
  6. 8:52Exception reporting
  7. 10:39Rendering exceptions
  8. 13:10Production exceptions
  9. 14:18Custom reporting callbacks
  10. 16:03Stopping reporting chains
  11. 16:44Context data in reporting
  12. 18:08JSON responses for exceptions
  13. 19:13Custom exception responses
  14. 20:35Create custom exception
  15. 22:00Exception properties/methods
  16. 23:04Report method details
  17. 23:47Custom 404 pages
  18. 25:11Board-level handling
  19. 26:15Rescue method
  20. 27:19Job queue exceptions
  21. 28:42Job process exceptions
  22. 29:04Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.