Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
UnknownWorkflowIdException | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getErrorCodeList | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getPageTitle | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Flow\Exception; |
4 | |
5 | /** |
6 | * Specific exception thrown when a workflow is requested by id through |
7 | * WorkflowLoaderFactory and it does not exist. |
8 | */ |
9 | class UnknownWorkflowIdException extends InvalidInputException { |
10 | protected function getErrorCodeList() { |
11 | // flow-error-invalid-input |
12 | return [ 'invalid-input' ]; |
13 | } |
14 | |
15 | public function getPageTitle() { |
16 | return wfMessage( 'flow-error-unknown-workflow-id-title' )->text(); |
17 | } |
18 | } |