export class CriticalError extends Error { constructor ( message , public code , public processExitCode , public cause ? ) { super ( message ) ; Object . setPrototypeOf ( this , CriticalError . prototype ) ; } }