/ duper_uniffi / dotnet / DuperDeserializeException.cs
DuperDeserializeException.cs
 1  namespace Duper;
 2  
 3  public class DuperDeserializeException : Exception
 4  {
 5    internal DuperDeserializeException(string message)
 6        : base(message) { }
 7  
 8    internal DuperDeserializeException(string message, Exception exception)
 9        : base(message, exception) { }
10  
11    public class ParseException : DuperDeserializeException
12    {
13      internal ParseException(string message)
14          : base(message) { }
15  
16      internal ParseException(string message, Exception exception)
17          : base(message, exception) { }
18    }
19  
20    public class InvalidTypeException : DuperDeserializeException
21    {
22      internal InvalidTypeException(string message)
23          : base(message) { }
24  
25      internal InvalidTypeException(string message, Exception exception)
26          : base(message, exception) { }
27    }
28  }