[docs] [issue21333] Document recommended exception for objects that shouldn't be pickled