Skip to content

Latest commit

 

History

History
205 lines (111 loc) · 4.13 KB

errors.BlocksVerificationError.md

File metadata and controls

205 lines (111 loc) · 4.13 KB

etcher-sdk / errors / BlocksVerificationError

Class: BlocksVerificationError

errors.BlocksVerificationError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BlocksVerificationError(blocks, checksum)

Parameters

Name Type
blocks BlocksWithChecksum
checksum string

Overrides

VerificationError.constructor

Defined in

lib/errors.ts:50

Properties

blocks

Readonly blocks: BlocksWithChecksum

Defined in

lib/errors.ts:51


checksum

Readonly checksum: string

Defined in

lib/errors.ts:52


code

code: string = 'EVALIDATION'

Inherited from

VerificationError.code

Defined in

lib/errors.ts:25


message

message: string

Inherited from

VerificationError.message

Defined in

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


name

name: string

Inherited from

VerificationError.name

Defined in

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


stack

Optional stack: string

Inherited from

VerificationError.stack

Defined in

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


prepareStackTrace

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

Type declaration

▸ (err, stackTraces): any

Optional override for formatting stack traces

Parameters
Name Type
err Error
stackTraces CallSite[]
Returns

any

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from

VerificationError.prepareStackTrace

Defined in

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


stackTraceLimit

Static stackTraceLimit: number

Inherited from

VerificationError.stackTraceLimit

Defined in

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

Methods

captureStackTrace

Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Name Type
targetObject object
constructorOpt? Function

Returns

void

Inherited from

VerificationError.captureStackTrace

Defined in

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