RdfInvalidIriException constructor

const RdfInvalidIriException(
  1. String message, {
  2. required String iri,
  3. required String format,
  4. Object? cause,
  5. SourceLocation? source,
})

Creates a new invalid IRI exception

Parameters:

  • message: Required description of why the IRI is invalid
  • iri: Required string representation of the invalid IRI
  • format: Required format being decoded
  • cause: Optional underlying cause of this exception
  • source: Optional location information where the error occurred

Implementation

const RdfInvalidIriException(
  super.message, {
  required this.iri,
  required super.format,
  super.cause,
  super.source,
});