1 | <?php |
||
10 | class ReportException extends \Exception |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @param ApiResponse $repositoryResponse |
||
15 | * |
||
16 | * @return self |
||
17 | */ |
||
18 | public static function failed(ApiResponse $repositoryResponse) |
||
22 | |||
23 | /**+ |
||
24 | * @param $missingIndex |
||
25 | * |
||
26 | * @return self |
||
27 | */ |
||
28 | public static function missingIndex($missingIndex) |
||
32 | |||
33 | /** |
||
34 | * @return self |
||
35 | */ |
||
36 | public static function validation($message) |
||
40 | } |
||
41 |