---
source: kcl/src/simulation_tests.rs
description: Error from executing cube_with_error.kcl
---
KCL UndefinedValue error

  × undefined value: memory item key `foo` is not defined
    ╭─[22:1]
 21 │ // Error, after creating meaningful output.
 22 │ foo
    · ───
    ╰────
