UNPKG

codesandbox

Version:
13 lines (12 loc) 398 B
export default class FileError extends Error { path: string; isBinary: boolean; /** * Creates an instance of FileError. * @param {string} message * @param {string} path * @param {boolean} [isBinary=false] Whether the error was caused because the file is binary * @memberof FileError */ constructor(message: string, path: string, isBinary?: boolean); }