Structure
PostgresTransactionError
A wrapper around the errors that can occur during a transaction.
struct PostgresTransactionError
Topics
Instance Properties
beginErrorThe error thrown when running theBEGINqueryclosureErrorThe error thrown in the transaction closurecommitErrorThe error thrown while committing the transaction.fileThe file in which the transaction was startedlineThe line in which the transaction was startedrollbackErrorThe error thrown while rolling the transaction back. If theclosureErroris set, but therollbackErroris empty, the rollback was successful. If therollbackErroris set, the rollback failed.
Relationships
Conforms To
Swift.ErrorSwift.SendableSwift.SendableMetatype