MilanoBuildException

The closed set of typed errors the gate can throw, per the document model spec. Every error carries structured detail; the diagnostic message is non-normative.

Inheritors

Types

Link copied to clipboard
class LimitExceeded(val limit: String, val value: Int, val actual: Int) : MilanoBuildException

A resource limit exceeded at the gate.

Link copied to clipboard

Input is not well-formed JSON or violates envelope structure.

Link copied to clipboard
class SchemaViolation(val rule: String, val node: String? = null, val expected: String? = null, val found: String? = null) : MilanoBuildException

Vocabulary, typing, action encoding, event, id, or namespace rules violated; supplied context or initial-state values not matching declarations.

Link copied to clipboard
class UnknownComponentType(val node: String, val unknownType: String) : MilanoBuildException

A type not declared in the vocabulary, under the fail policy.

Link copied to clipboard
class UnsupportedVersion(val declared: String, val supported: List<String>) : MilanoBuildException

The declared version is above what the runtime implements.

Functions

Link copied to clipboard

The error as comparable fields, used by the conformance driver.