RdfConstraintViolationException constructor
- String message, {
- required String constraint,
- Object? cause,
- SourceLocation? source,
Creates a new constraint violation exception
Parameters:
message
: Required description of how the constraint was violatedconstraint
: Required identifier of the violated constraintcause
: Optional underlying cause of this exceptionsource
: Optional location information where the error was detected
Implementation
const RdfConstraintViolationException(
super.message, {
required this.constraint,
super.cause,
super.source,
});