Make LinkedList return errors when something fails