G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Classes
Yagna Contributor Guide
Class: TaskRejected
​yajsapi / Exports / executor/events / TaskRejected

Class: TaskRejected

​executor/events.TaskRejected

Hierarchy

  • TaskEvent
    ↳ TaskRejected

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new TaskRejected(__namedParameters)
Parameters
Name
Type
__namedParameters
Object
Overrides
TaskEvent.constructor
Defined in

Properties

reason

• Optional reason: null | string
Defined in

task_id

• Optional task_id: string
Inherited from
TaskEvent.task_id
Defined in

Methods

extract_exc_info

â–¸ 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.
Inherited from
TaskEvent.extract_exc_info
Defined in