summaryrefslogtreecommitdiffhomepage
path: root/mrblib/error.rb
blob: 3fa7f21e3ed3918ae2e09a86a2264a0361ae8f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##
# 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

class NotImplementedError < ScriptError
end