lib/lisp/interpreter/errors.rb in lisp-interpreter-0.3.1 vs lib/lisp/interpreter/errors.rb in lisp-interpreter-0.3.2
- old
+ new
@@ -5,9 +5,13 @@
end
def unbalanced_quotes_error
'error signaled: unbalanced quotes'
end
+
+ def arg_err_build(exp, got)
+ 'Incorrect number of arguments, expected ' + exp.to_s + ' got ' + got.to_s
+ end
end
class SchemeException < RuntimeError
end