export class ChangeDetectionError
export class ChangeDetectionError
exported from angular2/core defined in angular2/src/core/change_detection/exceptions.ts (line 41)
Thrown when an expression evaluation raises an exception.
This error wraps the original exception to attach additional contextual information that can be useful for debugging.
Example (live demo)
You can access the original exception and stack through the originalException
and
originalStack
properties.
Constructor
constructor(exp: string, originalException: any, originalStack: any, context: any)
constructor(exp: string, originalException: any, originalStack: any, context: any)
Not Yet Documented
Members
location : string
location : string
Information about the expression that triggered the exception.