BaseIriRequiredException class
Exception thrown when a base IRI is required but not provided.
This occurs when trying to resolve a relative IRI without a base IRI. Relative IRIs (like 'file.txt' or '#section') cannot be resolved to absolute form without knowing what they're relative to.
Example:
try {
  resolveIri('#section', null); // Missing base IRI
} on baseIriRequiredException catch (e) {
  print('Cannot resolve: ${e.relativeUri}');
}
- Inheritance
- 
    - Object
- RdfException
- RdfDecoderException
- BaseIriRequiredException
 
Constructors
- BaseIriRequiredException({required String relativeUri})
- 
          Creates a new base IRI required exception.
            const
Properties
- cause → Object?
- 
  The original error that caused this exception, if any
  finalinherited
- format → String
- 
  Format being decoded when the exception occurred
  finalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- message → String
- 
  Human-readable error message describing the issue
  finalinherited
- relativeUri → String
- 
  The relative IRI that could not be resolved.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- source → SourceLocation?
- 
  Optional source information where the error occurred
  finalinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited