TopologyParse

sealed interface TopologyParse

The outcome of Topology.from: a checked tree, or everything wrong with the document.

Inheritors

Types

Link copied to clipboard
data class Invalid(val problems: List<TopologyProblem>) : TopologyParse

The document had at least one problem; problems lists every one, in walk order.

Link copied to clipboard
data class Valid(val topology: Topology) : TopologyParse

The document was valid.