Skip to main content

Class: ActivityNodeTypeNotAllowedError

Raised by assertActivityNodeType. Non-retryable, error type VALIDATION.

Extends​

  • Error

Constructors​

Constructor​

new ActivityNodeTypeNotAllowedError(nodeType): ActivityNodeTypeNotAllowedError

Parameters​

nodeType​

string

Returns​

ActivityNodeTypeNotAllowedError

Overrides​

Error.constructor

Properties​

cause?​

optional cause?: unknown

Inherited from​

Error.cause


code​

readonly code: "durable.activityTypeNotAllowed" = "durable.activityTypeNotAllowed"


errorType​

readonly errorType: "VALIDATION" = "VALIDATION"


message​

message: string

Inherited from​

Error.message


name​

name: string

Inherited from​

Error.name


nodeType​

readonly nodeType: string


nonRetryable​

readonly nonRetryable: true = true


stack?​

optional stack?: string

Inherited from​

Error.stack