This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
<?php |
| 2 |
class vscExceptionError extends ErrorException { |
| 3 |
private $aErrorTypes = array ( |
| 4 |
1 => 'E_ERROR', |
| 5 |
2 => 'E_WARNING', |
| 6 |
4 => 'E_PARSE', |
| 7 |
8 => 'E_NOTICE', |
| 8 |
16 => 'E_CORE_ERROR', |
| 9 |
32 => 'E_CORE_WARNING', |
| 10 |
64 => 'E_COMPILE_ERROR', |
| 11 |
128 => 'E_COMPILE_WARNING', |
| 12 |
256 => 'E_USER_ERROR', |
| 13 |
512 => 'E_USER_WARNING', |
| 14 |
1024 => 'E_USER_NOTICE', |
| 15 |
2048 => 'E_STRICT', |
| 16 |
4096 => 'E_RECOVERABLE_ERROR', |
| 17 |
8192 => 'E_DEPRECATED ', |
| 18 |
16386 => 'E_USER_DEPRECATED ', |
| 19 |
30719 => 'E_ALL', |
| 20 |
); |
| 21 |
|
| 22 |
public function getSeverityString () { |
| 23 |
return $this->aErrorTypes[$this->getSeverity()]; |
| 24 |
} |
| 25 |
} |