export class ExtractError extends Error { public readonly cause : string ; constructor ( cause , message = 'Failed to extract the browser archive' ) { super ( message ) ; this . message = message ; this . name = this . constructor . name ; Error . captureStackTrace ( this , this . constructor ) ; this . cause = cause ; } }