Skip to content

Commit

Permalink
SavingNotSupportedException
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Apr 23, 2023
1 parent 7b1e6f5 commit fae4acd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ private async Task<PaletteFileData> ParseFile(string path)

public override Task<bool> Save(string path, PaletteFileData data)
{
throw new NotImplementedException("Saving palette to .pixi directly is not supported.");
throw new SavingNotSupportedException("Saving palette as .pixi directly is not supported.");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

public class SavingNotSupportedException : Exception
{

public SavingNotSupportedException(string message) : base(message)
{
}
}

0 comments on commit fae4acd

Please sign in to comment.