PHP code example of crazycodr / standard-exceptions

1. Go to this page and download the library: Download crazycodr/standard-exceptions 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/ */

    

crazycodr / standard-exceptions example snippets


throw new \Exceptions\Data\NotFoundException();

try {

} catch(\Exceptions\Data\NotFoundExceptions $ex){

}

try {

} catch(\Exceptions\Tag\NotFoundTag $ex){
   
}