From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- Impostor-dev/src/Impostor.Hazel/HazelException.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Impostor-dev/src/Impostor.Hazel/HazelException.cs (limited to 'Impostor-dev/src/Impostor.Hazel/HazelException.cs') diff --git a/Impostor-dev/src/Impostor.Hazel/HazelException.cs b/Impostor-dev/src/Impostor.Hazel/HazelException.cs new file mode 100644 index 0000000..8c6fc3c --- /dev/null +++ b/Impostor-dev/src/Impostor.Hazel/HazelException.cs @@ -0,0 +1,21 @@ +using System; + +namespace Impostor.Hazel +{ + /// + /// Wrapper for exceptions thrown from Hazel. + /// + [Serializable] + public class HazelException : Exception + { + internal HazelException(string msg) : base (msg) + { + + } + + internal HazelException(string msg, Exception e) : base (msg, e) + { + + } + } +} -- cgit v1.1-26-g67d0