Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

HttpClient - onerror Method. Does anyone know further possible errors?

Hi,

I'm using Titanium.Network.HTTPClient to create a HttpRequest in my mobile app. The onerror method is called upon any error and passes an event Object as an argument. This event object contains a property named 'error'.

Does anyone know the possible error codes?
I already know:

  • Request aborted
  • Not Found
  • Host is unresolved
  • No wrapped connection
  • Adapter is detached

What does "No wrapped connection" and "Adapter is detached" mean? Are there further error codes?

Greetings

— asked July 17th 2010 by Jicks Steen
0 Comments

1 Answer

  • I deteced a furher error code today:

    Manager is shut down.

    Don't know what this mean.

    — answered July 18th 2010 by Tho Ste
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.