Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Tester / Result / ExceptionResult.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Testwork\Tester\Result;
12
13 use Exception;
14
15 /**
16  * Represents a result, that possibly produced an exception.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface ExceptionResult extends TestResult
21 {
22     /**
23      * Checks that the test result has exception.
24      *
25      * @return Boolean
26      */
27     public function hasException();
28
29     /**
30      * Returns exception that test result has.
31      *
32      * @return null|Exception
33      */
34     public function getException();
35 }