NoteApp-Clean-Architecture
NoteApp-Clean-Architecture copied to clipboard
Avoid catches without on clauses
https://dart-lang.github.io/linter/lints/avoid_catches_without_on_clauses.html https://dart-lang.github.io/linter/lints/avoid_catching_errors.html
void main() {
try {
throw OutOfMemoryError();
} catch (e) {
print(e);
}
print('everything is fine');
}