UNPKG

@neo-one/server-plugin-simulation-esnext-esm

Version:

NEO•ONE Server simulation plugin.

10 lines (8 loc) 365 B
import { makeErrorWithCode } from '@neo-one/utils-esnext-esm'; // tslint:disable-next-line export-name export const CouldNotLoadSimulationError = makeErrorWithCode( 'COULD_NOT_LOAD_SIMULATION', (simulationPackage: string) => `Could not load simulation ${simulationPackage}. Is it installed? ` + `Try running 'npm install -g ${simulationPackage}'.`, );