In the past, I had an ExceptionHandler
(now referred to as ErrorHandler
) that was provided to my module's providers:
import { provide } from "@angular/core"
@NgModule({
providers: [
provide(ExceptionHandler, {useClass: MyExceptionHandler})
]
})
I have since renamed ExceptionHandler
to ErrorHandler
. However, now that it no longer exists, how should I handle this provider declaration?