mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-10 20:02:31 +00:00
Don't consider it an error if there is nothing to export (#1349)
This commit is contained in:
committed by
GitHub
parent
cf7580014c
commit
7add81a472
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace DiscordChatExporter.Core.Exceptions;
|
||||
|
||||
// Thrown when there is circumstancially no message to export with given parameters,
|
||||
// though it should not be treated as a runtime error; simply warn instead
|
||||
public class ChannelEmptyException(string message)
|
||||
: DiscordChatExporterException(message, false, null) { }
|
||||
Reference in New Issue
Block a user