mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-11 12:22:29 +00:00
Improve "Requested resource does not exist" exception message to give slightly more context
This commit is contained in:
@@ -36,8 +36,8 @@ Failed to perform an HTTP request.
|
||||
internal static DiscordChatExporterException Forbidden() =>
|
||||
new("Access is forbidden.");
|
||||
|
||||
internal static DiscordChatExporterException NotFound() =>
|
||||
new("Requested resource does not exist.");
|
||||
internal static DiscordChatExporterException NotFound(string resourceId) =>
|
||||
new($"Requested resource ({resourceId}) does not exist.");
|
||||
|
||||
internal static DiscordChatExporterException ChannelIsEmpty() =>
|
||||
new("No messages found for the specified period.");
|
||||
|
||||
Reference in New Issue
Block a user