Dart 中表示异常的类有两个,分别是Exception和Error。 ... try { } catch (e, s) { print('异常信息: $e'); print('堆栈信息: $s'); }.
確定! 回上一頁