SqlException constructor

const SqlException(
  1. SqlErrorCode code,
  2. String message, {
  3. String? constraint,
  4. Object? cause,
})

Creates a classified SQL failure.

Implementation

const SqlException(this.code, this.message, {this.constraint, this.cause});