File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/angular2/src/facade Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -176,8 +176,10 @@ class FunctionWrapper {
176176
177177class BaseException extends Error {
178178 final String message;
179+ final originalException;
180+ final originalStack;
179181
180- BaseException ([this .message]);
182+ BaseException ([this .message, this .originalException, this .originalStack ]);
181183
182184 String toString () {
183185 return this .message;
Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ export var Type = Function;
66export type Type = new ( ...args : any [ ] ) => any ;
77
88export class BaseException extends Error {
9- message ;
109 stack ;
11- constructor ( message ?: string ) {
10+ constructor ( public message ?: string , public originalException ? , public originalStack ? ) {
1211 super ( message ) ;
13- this . message = message ;
1412 this . stack = ( < any > new Error ( message ) ) . stack ;
1513 }
1614
You can’t perform that action at this time.
0 commit comments