import { ColorizedChannel } from "./colorizedChannel" ; /**
 * Error for processing failure
 */ export class ProcessError extends Error { constructor ( operation , error , readonly component ) { super ( ColorizedChannel . formatMessage ( operation , error ) ) ; this . name = "ProcessError" ; if ( Error . captureStackTrace ) { Error . captureStackTrace ( this , ProcessError ) ; } } }