InvalidEvent
Api Code Documentation / Exports / service/domain/errors/invalid_event / InvalidEvent
service/domain/errors/invalid_event.InvalidEvent
#
HierarchyError
↳
InvalidEvent
#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor• new InvalidEvent(ctx
, businessEvent
, validationErrors
)
#
ParametersName | Type |
---|---|
ctx | Ctx |
businessEvent | BusinessEvent |
validationErrors | Error [] |
#
OverridesError.constructor
#
Defined insrc/service/domain/errors/invalid_event.ts:5
#
Properties#
message• message: string
#
Inherited fromError.message
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:1023
#
name• name: string
#
Inherited fromError.name
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:1022
#
stack• Optional
stack: string
#
Inherited fromError.stack
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:1024
#
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
#
ParametersName | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
#
Returnsany
#
Inherited fromError.prepareStackTrace
#
Defined innode_modules/@types/node/globals.d.ts:11
#
stackTraceLimitâ–ª Static
stackTraceLimit: number
#
Inherited fromError.stackTraceLimit
#
Defined innode_modules/@types/node/globals.d.ts:13
#
Methods#
captureStackTraceâ–¸ Static
captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
#
ParametersName | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
#
Returnsvoid
#
Inherited fromError.captureStackTrace
#
Defined innode_modules/@types/node/globals.d.ts:4