Added error code to stderr for DBConnection object.