codesandbox
Version:
The CLI used for communicating with CodeSandbox
13 lines (12 loc) • 398 B
TypeScript
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);
}