mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
15 lines
175 B
Ruby
15 lines
175 B
Ruby
##
|
|
# 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
|