yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: CommandExecutionError

yajsapi / Exports / rest/activity / CommandExecutionError

Class: CommandExecutionError

rest/activity.CommandExecutionError

Hierarchy

  • Error

    CommandExecutionError

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CommandExecutionError(command, message?)

Parameters

Name

Type

command

string

message?

string

Overrides

Error.constructor

Defined in

yajsapi/rest/activity.ts:355

Properties

command

command: string

Defined in

yajsapi/rest/activity.ts:354

message

message: string

Overrides

Error.message

Defined in

yajsapi/rest/activity.ts:355

name

name: string

Inherited from

Error.name

Defined in

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

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/rest/activity.ts:361

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