Skip to main content

Class: TaskNotFoundException

Exception raised when no task with the given id or name is found in a workflow.

Extends

Constructors

new TaskNotFoundException()

new TaskNotFoundException(taskId: number): TaskNotFoundException

Parameters

ParameterType

taskId

number

Returns

TaskNotFoundException

Overrides

IkClientException.constructor

new TaskNotFoundException()

new TaskNotFoundException(taskName: string): TaskNotFoundException

Parameters

ParameterType

taskName

string

Returns

TaskNotFoundException

Overrides

IkClientException.constructor

new TaskNotFoundException()

new TaskNotFoundException(taskIdOrName: string | number): TaskNotFoundException

Parameters

ParameterType

taskIdOrName

string | number

Returns

TaskNotFoundException

Overrides

IkClientException.constructor

Properties

taskId?

optional taskId: number;

taskName?

optional taskName: string;