Documentation of error codes

Hello,

I'd like to know what error codes can be returned by mdlDB_openCursorWithID() function. Generally the documentation contains  "SUCCESS is returned if ... Otherwise, an error status is returned".

Are there any documantation which describes exact error statuses of functions?

Thanks,

Attila Fodor