Hi,
Good topic.
What type or level of errors are we talking about? A problem I see
here is that things might go wrong in many different browsers and on
many different levels, such as DNS, socket, proxy and browser
internals. There is (to my knowledge) no standard to encapsulate all
these types of errors into a single code allowing for detailed
automated interpretation of the error in a viewer.
Unless we invent such a Uni(error)code standard and try to push it out
to all browser vendors, I'd guess the best possible interpretation
would be to check for a non-zero error code and display a free-form
message, if provided.
But I agree that having something like a secondary error code and
message in the spec would be a win, for the reason that any viewer is
then able to show it.
- Pieter
On Jun 28, 8:11 am, Romain <
filir...@gmail.com> wrote:
> Indeed, previously I hacked Netexport to make it show the errors.
>
> My hack was to generate a RESPONSE with a status code = -1, when no response
> was received.
> In so doing, I was able to see which requests failed with har viewer.
>
> So, I totally approve the idea of incuding errors directly in the HAR
> specification.
>
> Cheers
>
> Romain
>
> 2011/6/27 Pierre Moysan <
pierre.moysa...@gmail.com>