silverwolf-x's picture
download
raw
295 Bytes
export class NetworkError extends Error {
constructor(message: string, options?: { cause?: unknown }) {
super(message)
this.name = 'NetworkError'
// Preserve error cause when supported
if (options && 'cause' in options) {
;(this as any).cause = options.cause
}
}
}

Xet Storage Details

Size:
295 Bytes
·
Xet hash:
74e352087cdb09b67a4374a1b262179fada4a4f3be999fdc4a6f4b524863408f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.