Some error classes don't make sense in Dart2 #33949
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
enhancement-breaking-change
An enhancement which is breaking.
library-core
type-enhancement
A request for a change that isn't a bug
This is not exhaustive, and probably too late for Dart2, but maybe Dart3?
FallThroughError
: I believe this is caught at compile-time now.CyclicInstantiationError
: DittoAbstractClassInstantiatonError
: DittoIn addition, these three errors don't seem to ever... be used:
IntegerDivisionByZeroException
OutOfMemoryError
StackOverflowError
It might make sense to make them private, I don't know if anyone ever tries to catch these?
The text was updated successfully, but these errors were encountered: