Exceptions do not seem to inherit as one would expect, so use a tuple to catch multiple serialization errors.