📜  检查异常类型颤振 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:06.135000             🧑  作者: Mango

代码示例1
try {
  // ...
} on SomeException catch(e) {
 //Handle exception of type SomeException
} catch(e) {
 //Handle all other exceptions
}