2021-04-21 21:57:19 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace PluralKit.Core
|
2020-06-29 11:57:48 +00:00
|
|
|
|
{
|
2021-04-21 21:57:19 +00:00
|
|
|
|
|
|
|
|
|
public class InvalidPatchException : Exception
|
|
|
|
|
{
|
|
|
|
|
public InvalidPatchException(string message) : base(message) {}
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-29 12:39:19 +00:00
|
|
|
|
public abstract class PatchObject
|
2020-06-29 11:57:48 +00:00
|
|
|
|
{
|
|
|
|
|
public abstract UpdateQueryBuilder Apply(UpdateQueryBuilder b);
|
2021-04-21 21:57:19 +00:00
|
|
|
|
|
|
|
|
|
public void CheckIsValid() {}
|
2020-06-29 11:57:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|