diff options
Diffstat (limited to 'src/ErrorReporter.kt')
-rw-r--r-- | src/ErrorReporter.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ErrorReporter.kt b/src/ErrorReporter.kt new file mode 100644 index 0000000..b4ba636 --- /dev/null +++ b/src/ErrorReporter.kt @@ -0,0 +1,8 @@ +package moe.nea.lisp + +interface ErrorReporter { + fun reportError(string: String): LispData + fun reportError(string: String, exception: Throwable): LispData { + return reportError("$string: $exception") + } +}
\ No newline at end of file |