InvalidPrecom

@buff-beacon-project/curby-clientDocs


@buff-beacon-project/curby-client / InvalidPrecom

Class: InvalidPrecom

An error for when a precommitment value is invalid

Extends

  • Error

Constructors

new InvalidPrecom()

new InvalidPrecom(msg, options): InvalidPrecom

Parameters

Parameter
Type
Default value

msg

string

'Invalid Precommitment Value'

options

any

{}

Returns

InvalidPrecom

Overrides

Error.constructor

Defined in

src/extract-randomness.ts:13

Properties

Property
Modifier
Type
Description
Inherited from
Defined in

cause?

public

unknown

-

Error.cause

node_modules/typescript/lib/lib.es2022.error.d.ts:24

message

public

string

-

Error.message

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

name

public

string

-

Error.name

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

stack?

public

string

-

Error.stack

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

prepareStackTrace?

static

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

Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Error.prepareStackTrace

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

stackTraceLimit

static

number

-

Error.stackTraceLimit

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

Methods

captureStackTrace()

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Parameter
Type

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

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

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Parameter
Type

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

node_modules/bun-types/globals.d.ts:1630

Last updated