將錯誤對象格式化為字符串。如果可用,則使用名稱、消息和堆棧屬性,否則返回到toString()。
Parameters:
object
(*)
要在數組中查找的項。