Woopsa.HTTPResponse.DoError C# (CSharp) Method

DoError() protected static method

protected static DoError ( HTTPResponse response, Exception exception ) : void
response HTTPResponse
exception System.Exception
return void
        protected static void DoError(HTTPResponse response, Exception exception)
        {
            if (Error != null)
            {
                Error(response, new HTTPResponseErrorEventArgs(exception));
            }
        }