public ApiException(ExceptionModel exception, Exception inner) : base(exception.ToString(), inner) { }
public ApiException(ExceptionModel exception) : base(exception.ToString()) { }
public static string ToJson(this ExceptionModel self) => JsonConvert.SerializeObject(self, CustomJsonConverter.Settings);