summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tissue/conditions.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/tissue/conditions.scm b/tissue/conditions.scm
new file mode 100644
index 0000000..13fc00c
--- /dev/null
+++ b/tissue/conditions.scm
@@ -0,0 +1,27 @@
+;;; tissue --- Text based issue tracker
+;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;;
+;;; This file is part of tissue.
+;;;
+;;; tissue is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; tissue is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with tissue. If not, see <https://www.gnu.org/licenses/>.
+
+(define-module (tissue conditions)
+ #:use-module (rnrs conditions)
+ #:export (issue-file-not-found-error
+ issue-file-not-found-error?
+ issue-file-not-found-error-issue-file))
+
+(define-condition-type &issue-file-not-found &error
+ issue-file-not-found-error issue-file-not-found-error?
+ (issue-file issue-file-not-found-error-issue-file))