Add return to HttpError::getStatusCode.