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.
InvalidFormatclass InvalidFormat extends Logic
An value (usually a string) does not match of a specific format.
throw new InvalidFormat('127.0.0.256', 'IPv4');
__construct([$value, $type [, $previous, $thrower])$value - the invalid string$type - the format typegetValue():stringgetType():stringHow can I help you explore Laravel packages today?