PHP code example of ixnode / php-exception

1. Go to this page and download the library: Download ixnode/php-exception 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/ */

    

ixnode / php-exception example snippets


use Ixnode\PhpException\FileNotFoundException;

throw new FileNotFoundException('path-to-file');
bash
vendor/bin/php-exception -V
bash
php-exception 0.1.0 (12-30-2022 11:41:25) - Björn Hempel <[email protected]>
bash
git clone [email protected]:ixnode/php-exception.git && cd php-exception