Download the PHP package ixnode/php-exception without Composer
On this page you can find all versions of the php package ixnode/php-exception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-exception
PHP Exception
This library offers some ready to use PHP Exceptions.
Exception Classes
Group Array
Name |
Parameter |
Usage |
---|---|---|
ArrayKeyNotFoundException |
string $key |
Used to indicate that a key in an array does not exist. |
ArrayCountException |
none |
Used to indicate that two given arrays do not match in size. |
Group Case
Name |
Parameter |
Usage |
---|---|---|
CaseInvalidException |
string $given array $expected |
Used to indicate that a specified case is not supported (match, switch, etc.). |
CaseUnsupportedException |
string $case |
Used to indicate that a specified case is not supported (logic missing things, etc.). |
Group Class
Name |
Parameter |
Usage |
---|---|---|
ClassInvalidException |
string $class string $expected |
Used to indicate that a given or passed class is invalid. |
Group Configuration
Name |
Parameter |
Usage |
---|---|---|
ConfigurationMissingException |
string $hint |
Used to indicate that a configuration or an action is missing. |
Group Db
Name |
Parameter |
Usage |
---|---|---|
DbEntityNotFoundException |
string $class |
Used to indicate that a db entity was not found. |
Group File
Name |
Parameter |
Usage |
---|---|---|
FileNotFoundException |
string $path |
Used to indicate that a given file was not found. |
FileNotReadableException |
string $path |
Used to indicate that a given file is not readable. |
FileNotWriteableException |
string $path |
Used to indicate that a file cannot be written. |
Group Function
Name |
Parameter |
Usage |
---|---|---|
FunctionCurlExecException |
string $error string $url |
Used to indicate that the curl_exec function is not working properly. |
FunctionFOpenException |
none |
Used to indicate that the function fopen does not work properly. |
FunctionJsonEncodeException |
none |
Used to indicate that an object cannot be converted into a JSON string. |
FunctionReplaceException |
string $replacePattern |
Used to indicate that a value could not be replaced (str_replace, preg_replace, etc.). |
Group Parser
Name |
Parameter |
Usage |
---|---|---|
ParserException |
string $parseString string $context |
Used to indicate that a given string could not be parsed. |
Group Type
Name |
Parameter |
Usage |
---|---|---|
TypeInvalidException |
string $expected ?string $given = null |
Used to indicate that a given or passed variable is the wrong type. |
Installation
Usage
Development
License
This tool is licensed under the MIT License - see the LICENSE file for details
All versions of php-exception with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package ixnode/php-exception contains the following files
Loading the files please wait ....