| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public static function parseException($e, &$resultMessages) { |
||
| 15 | $resultMessages[] = array( |
||
| 16 | 'STATUS' => in_array($e->getCode(), array(ERR_NONE, ERR_WARNING, ERR_ERROR)) ? $e->getCode() : ERR_ERROR, |
||
| 17 | 'MESSAGE' => classSupernova::$gc->localePlayer[$e->getMessage()], |
||
| 18 | ); |
||
| 19 | |||
| 20 | return $e->getCode(); |
||
| 21 | } |
||
| 22 | |||
| 23 | } |