...
0 - Success
Non zero - On Failure
1.2.12.
...
pbs_db_get_errmsg
Description: This API can be used to get the error messages from the database library. When any of the above-listed APIs fail, this API can be used to get the error message from libdb.
Signature:
void getpbs_db_get_errmsg(int failcode, char **errmsg)
...