UNPKG

ionic-orm-2

Version:

Data-mapper ORM for Ionic WebSQL and SQLite

13 lines 511 B
/** * Thrown when transaction is not started yet and user tries to run commit or rollback. */ /** * Thrown when transaction is not started yet and user tries to run commit or rollback. */ export class TransactionNotStartedError extends Error { constructor() { super(); this.name = "TransactionNotStartedError"; this.message = `Transaction is not started yet, start transaction before committing or rolling it back.`; } } //# sourceMappingURL=TransactionNotStartedError.js.map