Skip to content

nooschain v0.1.0


nooschain / errors/sync-error / SyncError

Class: SyncError

Defined in: errors/sync-error.ts:29

Error thrown when remote sync/backfill data or peer communication fails.

These errors are not consensus state by themselves. They are local operational signals used by sync, peer scoring, and incident handling.

Extends

  • Error

Extended by

Constructors

Constructor

new SyncError(code, message, details?): SyncError

Defined in: errors/sync-error.ts:30

Parameters

code

SyncErrorCode

message

string

details?

unknown

Returns

SyncError

Overrides

Error.constructor

Properties

code

readonly code: SyncErrorCode

Defined in: errors/sync-error.ts:31


details?

readonly optional details?: unknown

Defined in: errors/sync-error.ts:33

Audience-first NOOSChain documentation.