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