This method is only useful in combination with {@link setHandled()}.
If the event is not marked as handled, the status code is ignored.
public setStatusCode ( integer $statusCode ) | ||
$statusCode | integer | Set to 0 on success and any positive integer on error. |