Skip to main content

Class: FileNotFoundException

file-storage/src.FileNotFoundException

Extends​

  • Error

Constructors​

new FileNotFoundException(message, rootCause)​

new FileNotFoundException(message, rootCause?): FileNotFoundException

Parameters​

▪ message: string

▪ rootCause?: Error

Returns​

FileNotFoundException

Overrides​

Error.constructor

Source​

libs/file-storage/src/lib/exceptions/file-not-found.exception.ts:2

Properties​

message​

message: string

Inherited from​

Error.message

Source​

node_modules/typescript/lib/lib.es5.d.ts:1068


name​

name: string

Inherited from​

Error.name

Source​

node_modules/typescript/lib/lib.es5.d.ts:1067


rootCause​

readonly rootCause?: Error

Source​

libs/file-storage/src/lib/exceptions/file-not-found.exception.ts:4


stack​

stack?: string

Inherited from​

Error.stack

Source​

node_modules/typescript/lib/lib.es5.d.ts:1069


prepareStackTrace​

static prepareStackTrace?: (err, stackTraces) => any

Optional override for formatting stack traces

Parameters​

▪ err: Error

▪ stackTraces: CallSite[]

Returns​

any

See​

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from​

Error.prepareStackTrace

Source​

node_modules/@types/node/globals.d.ts:28


stackTraceLimit​

static stackTraceLimit: number

Inherited from​

Error.stackTraceLimit

Source​

node_modules/@types/node/globals.d.ts:30

Methods​

captureStackTrace​

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters​

▪ targetObject: object

▪ constructorOpt?: Function

Returns​

void

Inherited from​

Error.captureStackTrace

Source​

node_modules/@types/node/globals.d.ts:21


Generated using typedoc-plugin-markdown and TypeDoc