I want to customize the default exception handler behavior and to do that I want to override the ExceptionHandler class, but I get the next error when I use the next code
Error:
Module '"angular2/angular2"' has no exported member 'ExceptionHandler'.
Code:
import {ExceptionHandler} from 'angular2/angular2';
Is this the correct aproach ? From where or what I have to import ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…