[webkit-dev] Error Handling in webkit
nitwalke at gmail.com
Sun Feb 22 21:57:57 PST 2009
I didn't get curl header file in webkit.Can u explain in brief how can we
convert curl error to http error? Where we have to make code changes in
webkit so that we can get proper message on browser?Is there a standerd way
to do this?I am new in webkit.
Thanks in advance.
On Fri, Feb 20, 2009 at 6:58 AM, Jenson Lui <jhnlui at gmail.com> wrote:
> For the errorcode, my code just directly pass the curl error
> code. Refer to the
> curl header file for the error code and do a curl error <-> http error
> On Thu, Feb 19, 2009 at 9:02 PM, Nitin Walke <nitwalke at gmail.com> wrote:
> > Hi,
> > Finally I can get errorcode in gtkapplication.Thanks for your
> > suggestion.
> > I have emitted a GTK signal (error-load-page) in the
> > FrameLoaderClientGtk::shouldFallBack method
> > and handled it in gtkapplication.
> > Here I can get errorcode but errorcode are not matching with standard
> > errorcode.For wrong url ie HTTP error it give errorcode '6' but standard
> > errorcode is '404',
> > for security exception it gives errorcode is '60'.If network is not
> > available then errorcode is '7'.
> > How can I do mapping this errorcode with standard errorcode?How can I
> > proper errormessage on browser using this errorcode?
> > Regards,
> > Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev