Skip to main content
Version: Version 5 beta

Class: FileNotFoundError

Extends

  • Error

Constructors

Constructor

new FileNotFoundError(message?): FileNotFoundError

Parameters

message?

string

Returns

FileNotFoundError

Inherited from

Error.constructor

Constructor

new FileNotFoundError(message?, options?): FileNotFoundError

Parameters

message?

string

options?

ErrorOptions

Returns

FileNotFoundError

Inherited from

Error.constructor

Properties

cause?

optional cause: unknown

Inherited from

Error.cause


message

message: string

Inherited from

Error.message


name

name: string = 'FileNotFoundError'

Overrides

Error.name


stack?

optional stack: string

Inherited from

Error.stack