UNPKG

cspell-lib

Version:

A library of useful functions used across various cspell tools.

19 lines 451 B
import { isError } from '../../util/errors.js'; export class ImportError extends Error { cause; constructor(msg, cause) { super(msg); this.cause = isError(cause) ? cause : undefined; } } export class UnsupportedSchema extends Error { constructor(msg) { super(msg); } } export class UnsupportedPnpFile extends Error { constructor(msg) { super(msg); } } //# sourceMappingURL=ImportError.js.map