ixnode/php-exception

PHP 异常 - 此库提供了一些现成的 PHP 异常。

0.1.21 2023-07-03 21:13 UTC

This package is auto-updated.

Last update: 2024-09-03 23:37:33 UTC


README

Release PHP PHPStan PHPCS LICENSE

此库提供了一些现成的 PHP 异常。

异常类

数组

情况

配置

数据库

文件

函数

解析器

类型

安装

composer require ixnode/php-exception
vendor/bin/php-exception -V
php-exception 0.1.0 (12-30-2022 11:41:25) - Björn Hempel <bjoern@hempel.li>

用法

use Ixnode\PhpException\FileNotFoundException;
throw new FileNotFoundException('path-to-file');

开发

git clone git@github.com:ixnode/php-exception.git && cd php-exception
composer install
composer test

许可证

此工具受 MIT 许可证许可 - 有关详细信息,请参阅 LICENSE 文件