factor_agent.gate.Rejected#

class Rejected(reasons, hints=())[source]#

Bases: object

A candidate refused by the gate, with the reasons sent back to the proposer.

hints say how to write it instead: the vocabulary’s fixes for a writing error (a static check or the graph build), or those of the stage rules it breaks; they go with the reasons into the rewrite request only.

Attributes#

Rejected.hints = ()#
Rejected.reasons#