import { ApplicationError , ApplicationErrorType } from '../communication/application-error' ; import { MessageFactory , } from '../communication' ; export const reportUncaughtError = ( err , ngVersion ) => { chrome . runtime . sendMessage ( MessageFactory . sendUncaughtError ( err , ngVersion ) ) ; } ; export interface SerializeableError { name : string ; message : string ; stack : string ; }