yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: ProposalFailed

yajsapi / Exports / executor/events / ProposalFailed

Class: ProposalFailed

executor/events.ProposalFailed

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ProposalFailed(__namedParameters)

Parameters

Name

Type

__namedParameters

Object

Overrides

ProposalEvent.constructor

Defined in

yajsapi/executor/events.ts:103

Properties

prop_id

Optional prop_id: string

Inherited from

ProposalEvent.prop_id

Defined in

yajsapi/executor/events.ts:67

reason

Optional reason: null | string

Defined in

yajsapi/executor/events.ts:103

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

ProposalEvent.extract_exc_info

Defined in

yajsapi/executor/events.ts:17