Translations:Manual:Coding conventions/PHP/361/en

Exceptions that indicate programming errors should be one of the [$spl exceptions that ship with PHP] or a more specific subclass, while exceptions that indicate errors that are relevant to the end user should be an [$errorpagerror ErrorPageError] or one of its subclasses.