コード例 #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);