tahamajs's picture
download
raw
207 Bytes
/**
* Throw a given error.
*
* @param {Error|null|undefined} [error]
* Maybe error.
* @returns {asserts error is null|undefined}
*/
export function bail(error) {
if (error) {
throw error
}
}

Xet Storage Details

Size:
207 Bytes
·
Xet hash:
41de1dbda67ccd2aeb6703a2f65f0f40f553cdec022253b6458cd5dfcd1a0ddc

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