Skip to main content

Class: DataSourceNotFoundError

Extends

Constructors

new DataSourceNotFoundError()

new DataSourceNotFoundError(message, dataSource): DataSourceNotFoundError

Parameters

message

string

dataSource

string

Returns

DataSourceNotFoundError

Overrides

ValidationError.constructor

Properties

dataSource

readonly dataSource: string


message

message: string

Inherited from

ValidationError.message


name

name: string

Inherited from

ValidationError.name


stack?

optional stack: string

Inherited from

ValidationError.stack


prepareStackTrace()?

static optional 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

ValidationError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

ValidationError.stackTraceLimit

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

ValidationError.captureStackTrace