Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContractRuntimeError

Hierarchy

  • Error
    • ContractRuntimeError

Index

Constructors

constructor

  • new ContractRuntimeError(runtimeErrorName: string, runtimeErrorMessage: string): ContractRuntimeError

Properties

message

message: string

name

name: string

runtimeErrorMessage

runtimeErrorMessage: string

runtimeErrorName

runtimeErrorName: string

Optional stack

stack?: string

Static Optional prepareStackTrace

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

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Static isa

  • isa(name: string): boolean

Generated using TypeDoc