2018-09-19から1日間の記事一覧

DartにおけるErrorとExceptionの使い分け

Error vs. Exception in Dart - Stack Overflow より。 Error and its subclasses are for programmatic errors. If one of those occurs, your code is bad and you should fix your code. Non-Error exception classes are for runtime errors. Sometimes …