1. Go to this page and download the library: Download ping-qu/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/ */
ping-qu / exception example snippets
throw new \Pingqu\Exception\Error("测试一个异常", 'TEST_A_EXCEPTION');