PostgresFailure constructor

const PostgresFailure(
  1. ServerException cause
)

Wraps a PostgreSQL server failure without losing its SQLSTATE.

Implementation

const PostgresFailure(this.cause);