Skip to content

Commit dd8428e

Browse files
Update crates/taurus-core/src/runtime/functions/object.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
1 parent dad750f commit dd8428e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/taurus-core/src/runtime/functions

crates/taurus-core/src/runtime/functions/object.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ fn get(
2929
Some(v) => Signal::Success(v.clone()),
3030
None => Signal::Failure(RuntimeError::new(
3131
"T-STD-00002",
32-
"InvalidArgumentRuntimeError",
33-
"Expected number",
32+
"KeyNotFoundRuntimeError",
33+
format!("Object field not found: {}", key),
3434
)),
3535
}
3636
}

0 commit comments

Comments
 (0)