You really can't serialize a class like
public class MyTest
{
[ProtoMember(1)]
public Exception MyException { get; set; }
}
But a small change will be possible for serialization.
public class MyTest
{
[ProtoMember(1, DynamicType = true)]
public Object MyException { get; set; }
}
This was the only way I found exception serialization.
source
share