The function ba_strerror() returns a pointer to a character string that contains the error message on success, and -1 on error.