PHP code example of netlogix / nxerrorhandler
1. Go to this page and download the library: Download netlogix/nxerrorhandler library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
netlogix / nxerrorhandler example snippets
yaml
errorHandling:
- errorCode: '400'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'
- errorCode: '404'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'
- errorCode: '500'
errorHandler: PHP
errorPhpClassFQCN: Netlogix\Nxerrorhandler\Error\PageContentErrorHandler
errorContentSource: 't3://page?uid=99'