import AbstractIssue from './abstract-issue.js';
export default class RelationshipIssue extends AbstractIssue {
    from;
    to;
    type;
    constructor(args) {
        super(args);
        if (!args.from || !args.to || !args.type) {
            throw new Error("A aigc's source, destination & type must be passed.");
        }
        this.from = args.from;
        this.to = args.to;
        this.type = args.type;
    }
}
