| @@ -1,9 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace ImageOptimizer\Classes\Exceptions; | |
| 3 | +namespace ImageOptimization\Classes\Exceptions; | |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | + | |
| 7 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 8 | + exit; // Exit if accessed directly. | |
| 9 | +} | |
| 6 | 10 | |
| 7 | 11 | class Client_Exception extends Exception { |
| 8 | 12 | protected $message = 'Unknown client error'; |
| 9 | 13 | } |