PHP Interface Behat\Testwork\Call\Handler\ExceptionHandler

See also: CallCenter
Author: Konstantin Kudryashov ([email protected])
Datei anzeigen Open project: behat/behat

Public Methods

Method Description
handleException ( Throwable $exception ) : Throwable Handles exception and returns new one if necessary.
supportsException ( Throwable $exception ) : boolean Checks if handler supports exception.

Method Details

handleException() public method

Handles exception and returns new one if necessary.
public handleException ( Throwable $exception ) : Throwable
$exception Throwable
return Throwable

supportsException() public method

Checks if handler supports exception.
public supportsException ( Throwable $exception ) : boolean
$exception Throwable
return boolean