class DuplicateNoteError(Exception):
    """
    Custom exception. Is raised when bibcode in library already has a note.
    """
    def __init__(self, message):