On Wed, Sep 30, 2009 at 4:13 AM, Norbert Sendetzky <norb...@linuxnetworks.de
> wrote:

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


ok. Those errors of the library are those which are in "enum odbxerr" ?

Sorry Norbert for my ignorance, but how can I now each element of the enum
what value is ?
For example, -1 is ODBX_ERR_BACKEND ? where can I see that ?

When I got -1 the description I get is the description of the error of the
backend isn't it ?
In any other case, the error I get is the description associated with the
enum dbxerr which is in static const char* odbx_errmsg[]   ???

I am right ???



> 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
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> 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
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
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

Reply via email to