Parent:StandardError
遇到不属于预期类型的对象时引发。
[1, 2, 3].first("two")
引发了一个例外:
TypeError: no implicit conversion of String into Integer
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com
分享手册到朋友圈
扫码关注腾讯云开发者
领取腾讯云代金券