Re: error codes in returns

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

Do i just wing it anyhow? Or what?

You seem to have a pretty good handle on the various types of situations that your particular API needs to deal with. The way things typically work is that you'd come up with some system to deal with it, show it to others, and it would grow and evolve from there. Probably, others will have some drastically different use cases than you will, and some aspects will need to be modified to compromise between multiple ways of using the API.

I doubt anyone not familiar with dealing with this particular issue (downloading web content) will be able to say much about that particular case. What you probably need to do is to figure out the various ways that you need to communicate and make sure that the infrastructure for doing so makes sense for you (the task messaging stuff in this case, I suppose).

Then you need to document how to use it so that others, not involved in the development, and maybe not even familiar with that sort of task, can figure it out.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu