Skip to content

Glob

GlobalEvalError

GlobalEvalError(
    node: ast.AST, *msgs: str, help: str | None = None
)

Bases: BuildError

Exception raised when a global expression cannot be evaluated.

Source code in src/kirin/lowering/python/glob.py
16
17
18
def __init__(self, node: ast.AST, *msgs: str, help: str | None = None):
    super().__init__(*msgs, help=help)
    self.source = SourceInfo.from_ast(node)