Méthode | Description | |
---|---|---|
__construct ( string $error, integer $severity ) | Stashes an error to throw later. | |
act ( ) | Triggers the stashed error. |
public __construct ( string $error, integer $severity ) | ||
$error | string | Error message. |
$severity | integer | PHP error constant, e.g E_USER_ERROR. |