Registry / utility / yiisoft-friendly-exception

yiisoft-friendly-exception

JSON →
library1.2.0phppackagistunverified

An interface for friendlier exceptions.

composer require yiisoft/friendly-exception
INSTALL
IMPORT
SIG · YIISOFT-FRIENDLY-E
Y
yiisoft-friendly-exception
utilityphpv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FriendlyExceptionInterface
use Yiisoft\FriendlyException\FriendlyExceptionInterface;

Implement the FriendlyExceptionInterface to provide a human-readable exception name.

use Yiisoft\FriendlyException\FriendlyExceptionInterface; class MyException extends \RuntimeException implements FriendlyExceptionInterface { public function getName(): string { return 'My Exception'; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
yiisoft-friendly-exception — pip install yiisoft-friendly-exception · libregistry