index.php, (*1)
ErrorExtension::startup();
or as extension, (*2)
extensions: error: WebChemistry\ErrorPresenter\DI\ErrorExtension
application: errorPresenter: 4xx: Error:Error4xx 5xx: Error:Error5xx
5xxPresenter, (*3)
use WebChemistry\ErrorPresenter\Error5xxPresenter as ParentError5xxPresenter; final class Error5xxPresenter extends ParentError5xxPresenter { }