WeavyController.ThrowResponseException Method

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

ThrowResponseException(HttpStatusCode, String)

Throws a HttpException with the specified code and message.

public void ThrowResponseException(HttpStatusCode code, string message = null)

Parameters

code
System.Net.HttpStatusCode
message
System.String