Script Packager Object Model Reference

IHttpResponse.EnsureSuccessStatusCode Method 

Report an error if the StatusCode property isn't a "success" status code

void EnsureSuccessStatusCode();

See Also

IHttpResponse Interface | Intelligence.FuncLibs.Http.HttpRequest Namespace