diff options
author | nea <nea@nea.moe> | 2023-08-21 16:15:59 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-21 16:15:59 +0200 |
commit | 4bbfede4060d38083aafd8a6c7ab2847e0e55ebf (patch) | |
tree | f0ab50180d2fa1c872ba8c20a4b055cd87bed3c9 /src/ErrorReporter.kt | |
parent | de694f30b5e2f6fd62a00e5a622abe0a2411afb9 (diff) | |
download | nealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.tar.gz nealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.tar.bz2 nealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.zip |
method binding
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 |