mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add documentation to Exception
This commit is contained in:
+8
-3
@@ -1,8 +1,13 @@
|
||||
##
|
||||
# Exception
|
||||
#
|
||||
# Exception
|
||||
#
|
||||
# ISO 15.2.22
|
||||
class Exception
|
||||
# 15.2.22.4.1
|
||||
|
||||
##
|
||||
# Raise an exception.
|
||||
#
|
||||
# ISO 15.2.22.4.1
|
||||
def self.exception(*args, &block)
|
||||
self.new(*args, &block)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user