Skip to content

Structure

PostgresDecodingError

An error that may happen when a PostgresRow or PostgresCell is decoded to native Swift types.
struct PostgresDecodingError

Topics

Structures

Operators

  • ==(_:_:)
    Returns a Boolean value indicating whether two values are equal.

Instance Properties

  • code
    The decoding error code
  • columnIndex
    The cell’s column index for which the decoding failed
  • columnName
    The cell’s column name for which the decoding failed
  • file
    The file the decoding was attempted in.
  • line
    The line the decoding was attempted in.
  • postgresData
    A copy of the cell data which was attempted to be decoded
  • postgresFormat
    The cell’s postgres format for which the decoding failed
  • postgresType
    The cell’s postgres data type for which the decoding failed
  • targetType
    The Swift type the cell should have been decoded into.

Default Implementations

Relationships

Conforms To

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

See Also

Errors

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