axy/errors
axy/errors is a PHP 8.1+ helper for defining and organizing exception classes. Provides common exception structures, basic error classes, default messages, backtrace truncation, and global options to standardize error handling across projects.
TypingErrorclass TypingError extends Logic implements InvalidValue
The value belongs to an unsupported type.
$fileNames = true;
scanFiles($fileNames); // fileNames must be array, string or null
__construct([$varName, $expected [, $previous, $thrower])$varName - the value name (the name of the variable or the container)$expected - the list of the expected types (an array or a string for single)getVarName():stringgetExpected():stringHow can I help you explore Laravel packages today?