subsystem_ref_error
Stable error · Load-time lowering and templates
Tier: stable · Kind: error · Topic: Load-time lowering and templates
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
SubsystemRefError | not exported | SubsystemRefError | not exported | not exported |
Julia
struct SubsystemRefError <: EarthSciASTError
SubsystemRefError(message::AbstractString; code, ref, subsystem, parent_model)
SubsystemRefError
Exception thrown when subsystem reference resolution fails.
TypeScript
TypeScript does not export this error.
Python
class SubsystemRefError(EarthSciAstError)
SubsystemRefError(message: str, code: str = '', path: str = '')
Exception raised when a subsystem reference cannot be resolved.
Carries the shared diagnostic code and JSON-Pointer path so that
earthsci_ast.validation.validate
can surface it as a structural
finding rather than an opaque parse blob at $. The cross-language
contract (tests/invalid/expected_errors.json) pins these fixtures as
"schema_errors": [] plus one coded structural error at the pointer of the
offending mount — e.g. unresolved_subsystem_ref @
/models/Atmosphere/subsystems/Missing.
Rust
Rust does not export this error.
Go
Go does not export this error.