1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1x 2x 2x 2x 1x | import { IsomorphicSpawn, InternalErrorInformation } from '../../../types' import SpawnError from '../spawn-error' class InternalError<Process extends IsomorphicSpawn.Return, Error> extends SpawnError { readonly info: InternalErrorInformation<Process, Error> constructor (info: InternalErrorInformation<Process, Error>) { super(String(info.error)) this.info = info } protected getName () { return 'InternalError' } } export = InternalError |