ConnectionError constructor

const ConnectionError({
  1. required String message,
  2. String? sqlState,
  3. int? nativeCode,
})

Creates a new ConnectionError instance.

The message is required and should describe the connection issue. The sqlState and nativeCode are optional and provide additional diagnostic information from the ODBC driver.

Implementation

const ConnectionError({
  required super.message,
  super.sqlState,
  super.nativeCode,
});