Files
NapCatQQ/.pnpm-store/v3/files/3f/b919ce287516263caa33d123cd167ed360d94b81556ceec1056773c2be9d943a8740d97397ceb7e1ff4eb9feea118d2eb53d16122cef794de04140307038ac
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

13 lines
207 B
Plaintext

/**
* 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
}
}