()
| 298 | |
| 299 | export class OnMutateMustBeSynchronousError extends TransactionError { |
| 300 | constructor() { |
| 301 | super( |
| 302 | `onMutate must be synchronous and cannot return a promise. Remove async/await or returned promises from onMutate.`, |
| 303 | ) |
| 304 | this.name = `OnMutateMustBeSynchronousError` |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | export class TransactionNotPendingMutateError extends TransactionError { |
nothing calls this directly
no outgoing calls
no test coverage detected