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
message
string
details?
unknown
Returns
SyncError
Overrides
Error.constructor
Properties
code
readonlycode:SyncErrorCode
Defined in: errors/sync-error.ts:31
details?
readonlyoptionaldetails?:unknown
Defined in: errors/sync-error.ts:33