schangxiang@126.com
2025-09-19 0821aa23eabe557c0d9ef5dbe6989c68be35d1fe
1
{"version":3,"sources":["../../src/error/TransactionNotStartedError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAgD,sDAAK;IAGjD;QAAA,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,4BAA4B,CAAC;QAIhC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;QAClE,KAAI,CAAC,OAAO,GAAG,yFAAyF,CAAC;;IAC7G,CAAC;IAEL,iCAAC;AAAD,CATA,AASC,CAT+C,KAAK,GASpD;AATY,gEAA0B","file":"TransactionNotStartedError.js","sourcesContent":["/**\n * Thrown when transaction is not started yet and user tries to run commit or rollback.\n */\nexport class TransactionNotStartedError extends Error {\n    name = \"TransactionNotStartedError\";\n\n    constructor() {\n        super();\n        Object.setPrototypeOf(this, TransactionNotStartedError.prototype);\n        this.message = `Transaction is not started yet, start transaction before committing or rolling it back.`;\n    }\n\n}"],"sourceRoot":".."}