yajsapi / Exports / executor/events / TaskRejected
executor/events.TaskRejected
TaskEvent
↳ TaskRejected
new TaskRejected(__namedParameters
: Object): TaskRejected
Parameters:
• __namedParameters: Object
Returns: TaskRejected
Defined in: yajsapi/executor/events.ts:469
• Optional
reason: undefined | null | string
Defined in: yajsapi/executor/events.ts:469
• Optional
task_id: undefined | string
Defined in: yajsapi/executor/events.ts:242
▸ extract_exc_info(): [undefined | null | Error, YaEvent]
Extract exception information from this event.
Returns: [undefined | null | Error, YaEvent]
The extracted exception information and a copy of the event without the exception information.
Defined in: yajsapi/executor/events.ts:17