From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../Impostor.Api/Exceptions/ImpostorException.cs | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Impostor-dev/src/Impostor.Api/Exceptions/ImpostorException.cs (limited to 'Impostor-dev/src/Impostor.Api/Exceptions/ImpostorException.cs') diff --git a/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorException.cs b/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorException.cs new file mode 100644 index 0000000..188c50e --- /dev/null +++ b/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorException.cs @@ -0,0 +1,24 @@ +using System; +using System.Runtime.Serialization; + +namespace Impostor.Api +{ + public class ImpostorException : Exception + { + public ImpostorException() + { + } + + protected ImpostorException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + + public ImpostorException(string? message) : base(message) + { + } + + public ImpostorException(string? message, Exception? innerException) : base(message, innerException) + { + } + } +} \ No newline at end of file -- cgit v1.1-26-g67d0