RdfConstraintViolationException constructor

const RdfConstraintViolationException(
  1. String message, {
  2. required String constraint,
  3. Object? cause,
  4. SourceLocation? source,
})

Creates a new constraint violation exception

Parameters:

  • message: Required description of how the constraint was violated
  • constraint: Required identifier of the violated constraint
  • cause: Optional underlying cause of this exception
  • source: Optional location information where the error was detected

Implementation

const RdfConstraintViolationException(
  super.message, {
  required this.constraint,
  super.cause,
  super.source,
});