Would it make sense to document here the limitations we discussed wrt error handling of the undo function?