I was wondering if there was a rule saying when to use which Exception in PHP... When do I have to throw a LogicException
and when a RuntimeException
?
For example when it comes to exceptions like PageNotFoundException
, from which exception class should I inherit?