yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: CollectFailed

yajsapi / Exports / executor/events / CollectFailed

Class: CollectFailed

executor/events.CollectFailed

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CollectFailed(__namedParameters)

Parameters

Name

Type

__namedParameters

Object

Overrides

YaEvent.constructor

Defined in

yajsapi/executor/events.ts:57

Properties

reason

reason: string

Defined in

yajsapi/executor/events.ts:57

sub_id

sub_id: string

Defined in

yajsapi/executor/events.ts:56

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

YaEvent.extract_exc_info

Defined in

yajsapi/executor/events.ts:17