diff options
Diffstat (limited to 'Impostor-dev/src/Impostor.Hazel/HazelException.cs')
-rw-r--r-- | Impostor-dev/src/Impostor.Hazel/HazelException.cs | 21 |
1 files changed, 21 insertions, 0 deletions
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 +{ + /// <summary> + /// Wrapper for exceptions thrown from Hazel. + /// </summary> + [Serializable] + public class HazelException : Exception + { + internal HazelException(string msg) : base (msg) + { + + } + + internal HazelException(string msg, Exception e) : base (msg, e) + { + + } + } +} |