lib/vm/perror.rb in p-lang-0.0.4 vs lib/vm/perror.rb in p-lang-0.1.0
- old
+ new
@@ -1,8 +1,8 @@
module PLang
class PError
def PError.raise_error(error_name, error_message)
puts error_name.to_s + ": " + error_message
- exit
+ raise "PError.raise_error"
end
end
end
\ No newline at end of file