Request

Response

    HTTPResponseException class

    Thrown when a hosting-provider HTTP request returns a non-success status. Implements IStatusCodeException.

    public class HTTPResponseException : Exception, IStatusCodeException
    

    Public Members

    namedescription
    HTTPResponseException(…) Initializes a new instance of the HTTPResponseException class. (2 constructors)
    override Message { get; } Gets the error message supplied for the failed response. Unlike the base implementation this returns exactly the message passed to the constructor, including null — no default message is substituted.
    StatusCode { get; } Gets or sets hTTP Status code of response.

    See Also