Structure
PSQLError
An error that is thrown from the PostgresClient. Sendability enforced through copy-on-write semantics.
struct PSQLError
Topics
Structures
Instance Properties
var code: PSQLError.CodeThePSQLError.Codecodevar file: String?The file in which the Postgres operation was triggered that failedvar line: Int?The line in which the Postgres operation was triggered that failedvar query: PostgresQuery?The query that failedvar serverInfo: PSQLError.ServerInfo?The info that was received from the servervar underlying: (any Error)?The underlying error
Default Implementations
Relationships
Conforms To
Swift.CopyableSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.ErrorSwift.EscapableSwift.SendableSwift.SendableMetatype
See Also
Errors
enum PostgresErrorstruct PostgresDecodingErrorAn error that may happen when aPostgresRoworPostgresCellis decoded to native Swift types.