summaryrefslogtreecommitdiff
path: root/src/brainfuck
diff options
context:
space:
mode:
authorMatthew Hall <hallmatthew314@gmail.com>2022-09-04 14:02:19 +1200
committerMatthew Hall <hallmatthew314@gmail.com>2022-09-04 14:02:19 +1200
commitb51ed9b9736eb0b333585b0b9cb1797054c4b69f (patch)
tree1b947d5672bc1d53c0cc9fdc0eacb0d64db3b5c2 /src/brainfuck
parent8dfc184c00f7c04e70f861914a944e3dbee3a136 (diff)
Custom exceptions are a bit more robust
Diffstat (limited to 'src/brainfuck')
-rw-r--r--src/brainfuck/program.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/brainfuck/program.cr b/src/brainfuck/program.cr
index 5994d40..5b569df 100644
--- a/src/brainfuck/program.cr
+++ b/src/brainfuck/program.cr
@@ -60,7 +60,7 @@ class Brainfuck::Program
end
def compile
- raise NotImplementedError.new
+ raise Util::NoCompilerAvailableError.new("No available compiler for brainfuck")
end
# assumes valid code