Skip to main content
Version: Version 5

Class: FileNotFoundError

Extends

  • Error

Constructors

new FileNotFoundError()

new FileNotFoundError(message?): FileNotFoundError

Parameters

message?: string

Returns

FileNotFoundError

Inherited from

Error.constructor

new FileNotFoundError()

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