yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: PaymentFailed

yajsapi / Exports / executor/events / PaymentFailed

Class: PaymentFailed

executor/events.PaymentFailed

Hierarchy

  • AgreementEvent

    PaymentFailed

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

__namedParameters: Object

Returns: PaymentFailed

Defined in: yajsapi/executor/events.ts:182

Properties

agr_id

Optional agr_id: undefined | string

Defined in: yajsapi/executor/events.ts:123

reason

reason: string

Defined in: yajsapi/executor/events.ts:182

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.

Defined in: yajsapi/executor/events.ts:17