Interface Exception
View exceptions implement this interface so that they can be easily recognized.
try { // … } catch (\ICanBoogie\View\Exception $e) { // a view exception } catch (\Exception $e { // another type of exception }
View exceptions implement this interface so that they can be easily recognized.
try { // … } catch (\ICanBoogie\View\Exception $e) { // a view exception } catch (\Exception $e { // another type of exception }