On Tue September 29 2009 23:57:06 Mariano Martinez Peck wrote: > The question is: when I have an error with OpenDBX I can then call > odbx_error() to obtain the description. The thing is, is that error number > unique? I mean, if I have an error number -3 with the description "XXX" > every time I get a -3 the description will be "XXX"? or...perhaps after > certain function invocation -3 can mean "XXX" and with other function it > can mean "YYY" ?
The error codes of the library are unique so -3 always means "XXX" but the errors of the backends aren't. This means that -1 always means something else depending on the called function, the state of the connection and the used backend. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX