<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, eid, token):
 """ Delete a library entry. :param eid str: Entry ID :param token str: OAuth Token :return: True or ServerError :rtype: Bool or Exception """

        final_headers = self.header
        final_headers['Authorization'] = "Bearer {}".format(token)

        r = requests.delete(self.apiurl + "/library-entries/{}".format(eid), headers=final_headers)

        if r.status_code != 204:
            print(r.status_code)
            raise ConnectionError(r.text)

        return True