summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-03-15 15:02:30 +0530
committerArun Isaac2022-03-15 15:02:30 +0530
commit496911486cf83dfab47dba96315544ac6484df22 (patch)
treee2746388a3841c6f7d27da020a9716c98284b07c
parentbb5eac732185979ad86efe0503613b2346ed5b2d (diff)
downloadtissue-496911486cf83dfab47dba96315544ac6484df22.tar.gz
tissue-496911486cf83dfab47dba96315544ac6484df22.tar.lz
tissue-496911486cf83dfab47dba96315544ac6484df22.zip
tissue: Introduce specialized conditions.
* tissue/conditions.scm: New file.
-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))