Skip to content

Structure

PostgresTransactionError

A wrapper around the errors that can occur during a transaction.
struct PostgresTransactionError

Topics

Instance Properties

  • beginError
    The error thrown when running the BEGIN query
  • closureError
    The error thrown in the transaction closure
  • commitError
    The error thrown while committing the transaction.
  • file
    The file in which the transaction was started
  • line
    The line in which the transaction was started
  • rollbackError
    The error thrown while rolling the transaction back. If the closureError is set, but the rollbackError is empty, the rollback was successful. If the rollbackError is set, the rollback failed.

Relationships

Conforms To

  • Swift.Error
  • Swift.Sendable
  • Swift.SendableMetatype