From 45acf418ca6247204f821877d6bd10fc438fceff Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Wed, 12 Jan 2022 17:28:08 +0200 Subject: [PATCH] Added base exception type --- source/tasky/exceptions.d | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 source/tasky/exceptions.d diff --git a/source/tasky/exceptions.d b/source/tasky/exceptions.d new file mode 100644 index 0000000..2e813d3 --- /dev/null +++ b/source/tasky/exceptions.d @@ -0,0 +1,16 @@ +/** +* Exceptions +* +* Base definitions for exceptions appear here +*/ +module tasky.exceptions; + +import std.exception; + +public abstract class TaskyException : Exception +{ + this(string msg) + { + super("TaskyException:"~msg); + } +}