Skip to main content

Class: DataSourceTypeMismatchError

Hierarchy

Methods

captureStackTrace

โ–ธ Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

NameType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

ValidationError.captureStackTrace

Properties

prepareStackTrace

โ–ช Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

โ–ธ (err, stackTraces): any

Optional override for formatting stack traces

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

Parameters
NameType
errError
stackTracesCallSite[]
Returns

any

Inherited from

ValidationError.prepareStackTrace


stackTraceLimit

โ–ช Static stackTraceLimit: number

Inherited from

ValidationError.stackTraceLimit


dataSource

โ€ข Readonly dataSource: unknown


name

โ€ข name: string

Inherited from

ValidationError.name


message

โ€ข message: string

Inherited from

ValidationError.message


stack

โ€ข Optional stack: string

Inherited from

ValidationError.stack

Constructors

constructor

โ€ข new DataSourceTypeMismatchError(message, dataSource)

Parameters

NameType
messagestring
dataSourceunknown

Overrides

ValidationError.constructor