capture the error from a decider panic and put it in the SerializedError