yajsapi - Java Script 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

Parameters:

Name

Type

command

string

message?

string

Returns: CommandExecutionError

Defined in: yajsapi/rest/activity.ts:347

Properties

command

command: string

Defined in: yajsapi/rest/activity.ts:346

message

message: string

Defined in: yajsapi/rest/activity.ts:347

name

name: string

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

prepareStackTrace

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

Optional override for formatting stack traces

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

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

stack

Optional stack: undefined | string

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

stackTraceLimit

stackTraceLimit: number

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

Methods

captureStackTrace

captureStackTrace(targetObject: object, constructorOpt?: Function): void

Create .stack property on a target object

Parameters:

Name

Type

targetObject

object

constructorOpt?

Function

Returns: void

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

toString

toString(): string

Returns: string

Defined in: yajsapi/rest/activity.ts:353