September 2016
Intermediate to advanced
1091 pages
21h 41m
English
Exceptions are especially useful when used in conjunction with code in a try/catch block. Using this construct, however, can be awkward in some situations, making code virtually unreadable. Another consideration is that many classes end up throwing exceptions that you have not anticipated. In such cases, it would be highly desirable to have some sort of fallback exception handler.
Application\Error\Handler:namespace Application\Error;
class Handler
{
// code goes here
}set_exception_handler() to assign the ...Read now
Unlock full access