Skip to content

Structure

PSQLError

An error that is thrown from the PostgresClient. Sendability enforced through copy-on-write semantics.
struct PSQLError

Topics

Structures

Instance Properties

  • code
  • file
    The file in which the Postgres operation was triggered that failed
  • line
    The line in which the Postgres operation was triggered that failed
  • query
    The query that failed
  • serverInfo
    The info that was received from the server
  • underlying
    The underlying error

Default Implementations

Relationships

Conforms To

  • Swift.Copyable
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Error
  • Swift.Escapable
  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Errors