Exception: Servus::Schema::DepthExceededError

Inherits:
Error
  • Object
show all
Defined in:
lib/servus/schema/errors.rb

Overview

Raised when a schema nests more deeply than Compiler::MAX_DEPTH.

Distinct from CircularReferenceError on purpose: a deep but acyclic schema is a different problem from a cycle, and conflating them is what makes depth-counter-only implementations reject valid schemas.