mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
9 lines
184 B
Ruby
9 lines
184 B
Ruby
class UncaughtThrowError < ArgumentError
|
|
attr_reader :tag, :value
|
|
def initialize(tag, value)
|
|
@tag = tag
|
|
@value = value
|
|
super("uncaught throw #{tag.inspect}")
|
|
end
|
|
end
|