Talk in English - UK at php Central Europe Conference 2017
View Slides: http://www.nikolaposa.in.rs/slides/dealing-with-exceptional-conditions/phpce17/
Short URL: https://joind.in/talk/45452 (QR-Code (opens in new window))
Developers naturally gravitate towards the "happy path" - default scenario in application execution in which everything works as expected, consequently neglecting exceptions and error handling aspect of a software development. This talk provides a comprehensive insight into widely adopted practices and patterns for dealing with exceptional and error conditions. You will learn about writing and organizing custom exception classes, formatting exception messages, component-level exceptions technique, and much more. In a word - Exceptions cheat-sheet. Once thrown, the exceptions should be caught, so you'll also be introduced with different error handling strategies and concepts.