Download the PHP package try/predict-exception without Composer
On this page you can find all versions of the php package try/predict-exception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download try/predict-exception
More information about try/predict-exception
Files in try/predict-exception
Download try/predict-exception
More information about try/predict-exception
Files in try/predict-exception
Vendor try
Package predict-exception
Short Description Simplified predictions if a piece of codes throws an Exception
License GPL-2.0
Package predict-exception
Short Description Simplified predictions if a piece of codes throws an Exception
License GPL-2.0
Please rate this library. Is it a good library?
Informations about the package predict-exception
predict-exception
Simplified predictions if a piece of codes throws an Exception
Install
Usage
API
Methods
predictException($capture, $exceptionClass)
Method to check if a given piece of code throws an Throwable of the expected type.
Arguments
Arguments | Type | Description |
---|---|---|
$capture | callable |
Closure in which the Throwable shall be thrown. |
$exceptionClass | string |
Class of the Throwable that is expected to be thrown. |
License
GPL-2.0 © Willi Eßer
All versions of predict-exception with dependencies
PHP Build Version
Package Version
No informations.
The package try/predict-exception contains the following files
Loading the files please wait ....