yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: NoPaymentAccountError

yajsapi / Exports / executor / NoPaymentAccountError

Class: NoPaymentAccountError

executor.NoPaymentAccountError

Hierarchy

  • Error

    NoPaymentAccountError

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new NoPaymentAccountError(required_driver, required_network)

Parameters

Name

Type

required_driver

any

required_network

any

Overrides

Error.constructor

Defined in

yajsapi/executor/index.ts:78

Properties

message

message: string

Inherited from

Error.message

Defined in

node_modules/typescript/lib/lib.es5.d.ts:974

name

name: string

Inherited from

Error.name

Defined in

node_modules/typescript/lib/lib.es5.d.ts:973

required_driver

required_driver: string

Defined in

yajsapi/executor/index.ts:76

required_network

required_network: string

Defined in

yajsapi/executor/index.ts:78

stack

Optional stack: string

Inherited from

Error.stack

Defined in

node_modules/typescript/lib/lib.es5.d.ts:975

prepareStackTrace

Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see https://github.com/v8/v8/wiki/Stack Trace API#customizing-stack-traces

Type declaration

▸ (err, stackTraces): any

Parameters

Name

Type

err

Error

stackTraces

CallSite[]

Returns

any

Inherited from

Error.prepareStackTrace

Defined in

node_modules/@types/node/globals.d.ts:11

stackTraceLimit

Static stackTraceLimit: number

Inherited from

Error.stackTraceLimit

Defined in

node_modules/@types/node/globals.d.ts:13

Methods

toString

toString(): string

Returns

string

Defined in

yajsapi/executor/index.ts:86

captureStackTrace

Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Name

Type

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

node_modules/@types/node/globals.d.ts:4