Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| InvalidDataException | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getErrorCodeList | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Flow\Exception; |
| 4 | |
| 5 | /** |
| 6 | * Category: invalid data exception |
| 7 | */ |
| 8 | class InvalidDataException extends FlowException { |
| 9 | protected function getErrorCodeList() { |
| 10 | return [ |
| 11 | 'invalid-title', |
| 12 | // flow-error-invalid-title |
| 13 | 'fail-load-data', |
| 14 | // flow-error-fail-load-data |
| 15 | 'fail-load-history', |
| 16 | // flow-error-fail-load-history |
| 17 | 'missing-topic-title', |
| 18 | // flow-error-missing-topic-title |
| 19 | 'missing-metadata', |
| 20 | // flow-error-missing-metadata |
| 21 | 'different-page', |
| 22 | // flow-error-different-page |
| 23 | ]; |
| 24 | } |
| 25 | } |