A fork of Crisp for HARP
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

22 行
332 B

module Mal
class ParseException < Exception
end
class EvalException < Exception
end
class RuntimeException < Exception
getter :thrown
def initialize(@thrown)
super()
end
end
end
def eval_error(msg)
raise Mal::EvalException.new msg
end
def parse_error(msg)
raise Mal::ParseException.new msg
end