export class CustomError extends Error { public innerError ? : Error ; public errorCode : string ; public constructor ( message , errorCode ) { super ( message ) ; this . name = this . constructor . name ; this . innerError = undefined ; this . errorCode = errorCode ; } } export enum ERROR_CODES { UnsupportedTypeError = 'G10' , MissingRemediationData = 'G11' , MissingFileName = 'G12' , FailedToParseManifest = 'G13' , CommandFailed = 'G14' , NoFixesCouldBeApplied = 'G15' }