[webkit-dev] Error Handling in webkit

Jenson Lui jhnlui at gmail.com
Thu Feb 19 17:28:23 PST 2009


     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 convert.


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 give
> proper errormessage on browser using this errorcode?
> Regards,
> Nitin

More information about the webkit-dev mailing list