Normally due to not checking errors properly, if something returns with an error, but the error code wasn't set then there is normally some specific situation that caused it and the program doesn't detect that situation and displays the error message anyway (which would be no error as no error code was set)
as for what the error was... without more details about when the error occurred i couldn't even guess