Version: v0.10.0

value_invention_error

Stable error · Load-time lowering and templates

Tier: stable · Kind: error · Topic: Load-time lowering and templates

JuliaTypeScriptPythonRustGo
not exportednot exportedValueInventionErrorValueInventionErrornot exported

Julia

Julia does not export this error.

TypeScript

TypeScript does not export this error.

Python

class ValueInventionError(EarthSciAstError)
ValueInventionError(message: str, code: str | None = None)

A value-invention build-time materialisation error. code is the diagnostic code when the error carries one (KEY_OUT_OF_RANGE).

Source

Rust

pub struct ValueInventionError {
    pub message: String,
    pub code: Option<&'static str>,
}

impl ValueInventionError { pub fn new(message: impl Into<String>) -> Self }

impl ValueInventionError { pub fn with_code(code: &'static str, message: impl Into<String>) -> Self }

A value-invention build-time materialisation error (the Rust analog of Julia’s TreeWalkError value-invention codes).

Source · Rust docs

Go

Go does not export this error.