📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
function transactionError(code, category, details = {}, cause) {
|
||||
const error = new Error(code, cause ? { cause } : undefined);
|
||||
error.code = code;
|
||||
error.category = category;
|
||||
error.details = details;
|
||||
return error;
|
||||
}
|
||||
|
||||
module.exports = { transactionError };
|
||||
Reference in New Issue
Block a user