RdfShapeValidationException constructor

const RdfShapeValidationException(
  1. String message, {
  2. required String shapeId,
  3. required String targetNode,
  4. Object? cause,
  5. SourceLocation? source,
})

Creates a new shape validation exception

Parameters:

  • message: Required description of the validation failure
  • shapeId: Required identifier of the violated shape
  • targetNode: Required identifier of the non-conforming node
  • cause: Optional underlying cause of this exception
  • source: Optional location information where the error was detected

Implementation

const RdfShapeValidationException(
  super.message, {
  required this.shapeId,
  required this.targetNode,
  super.cause,
  super.source,
});