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: CodeThePSQLError.Codecodevar expectedColumns: Int?The number of columns that was expected to be returned.var 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 returnedColumns: Int?The number of columns that was actually returned.var serverInfo: 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.