Raised when inserting an edge would make the graph cyclic. The rejection itself happens in the database trigger; this wraps the PG exception.