12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace InABox.Core
- {
- namespace Postable
- {
- public class MissingSettingsException : Exception
- {
- public Type PostableType { get; }
- public MissingSettingsException(Type postableType) : base($"No PostableSettings for ${postableType}")
- {
- PostableType = postableType;
- }
- }
- public class RepostedException : Exception
- {
- public RepostedException() : base("Cannot process an item twice.")
- {
- }
- }
- public class PostCancelledException : Exception
- {
- public PostCancelledException() : base("Processing cancelled")
- {
- }
- }
- }
- }
|