begin hash = {"a" => "b"} raise hash rescue Exception => e p e.message end
为什么我没有在结果中获得提升的哈希对象,而是我收到错误 - "异常类/对象预期"
ruby hash exception-handling
exception-handling ×1
hash ×1
ruby ×1