Пример #1
0
 public ApiException(ExceptionModel exception, Exception inner) : base(exception.ToString(), inner)
 {
 }
Пример #2
0
 public ApiException(ExceptionModel exception) : base(exception.ToString())
 {
 }
Пример #3
0
 public static string ToJson(this ExceptionModel self) => JsonConvert.SerializeObject(self, CustomJsonConverter.Settings);