ValidationError constructor

const ValidationError({
  1. required String message,
  2. String? sqlState,
  3. int? nativeCode,
  4. OdbcErrorDetails details = const OdbcErrorDetails(),
})

Creates a new ValidationError instance.

The message should describe what validation rule was violated.

Implementation

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