filter method
Implementation
@override
ErrorReaction filter(Object error, StackTrace stackTrace) {
if (error.runtimeType == Exception().runtimeType) {
return _table[Exception] ?? ErrorReaction.firstLocalThenGlobalHandler;
}
return _table[error.runtimeType] ?? ErrorReaction.defaultHandler;
}