blob: 1cb2b11502058bb1fe216911344355811238b95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
##
# Exception
#
# ISO 15.2.22
class Exception
##
# Raise an exception.
#
# ISO 15.2.22.4.1
def self.exception(*args, &block)
self.new(*args, &block)
end
end
# ISO 15.2.37
class ScriptError < Exception
end
# ISO 15.2.38
class SyntaxError < ScriptError
end
# ISO 15.2.39
class LoadError < ScriptError
end
class NotImplementedError < ScriptError
end
|