summaryrefslogtreecommitdiffhomepage
path: root/mrblib/error.rb
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-12 23:39:54 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-12 23:39:54 +0900
commita74ab0c2daf1855b968ef8498b9161eadb04a386 (patch)
tree53c198738dbb34a9ac462ba0ea9f4753f9f3a0b8 /mrblib/error.rb
parent8bc506e25825620c356a61e0db8825b669409159 (diff)
downloadmruby-a74ab0c2daf1855b968ef8498b9161eadb04a386.tar.gz
mruby-a74ab0c2daf1855b968ef8498b9161eadb04a386.zip
Kernel.eval to raise NotImplementedError
Diffstat (limited to 'mrblib/error.rb')
-rw-r--r--mrblib/error.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/mrblib/error.rb b/mrblib/error.rb
index 5660d8235..3fa7f21e3 100644
--- a/mrblib/error.rb
+++ b/mrblib/error.rb
@@ -12,3 +12,10 @@ class Exception
self.new(*args, &block)
end
end
+
+# ISO 15.2.37
+class ScriptError < Exception
+end
+
+class NotImplementedError < ScriptError
+end