Home > @rushstack/node-core-library > FileError > (constructor)
FileError.(constructor)
Constructs a new instance of the FileError class.
Signature:
constructor(message: string, options: IFileErrorOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| message | string | A message describing the error. |
| options | IFileErrorOptions | Options for the error. |