// Invalid Request internal WebPubSubContext(string errorMessage, WebPubSubErrorCode errorCode) { ErrorMessage = errorMessage; HasError = true; Response = Utilities.BuildErrorResponse(new EventErrorResponse(errorCode, errorMessage)); }