docs: future of errors
This commit is contained in:
parent
c53bb68b13
commit
1958da3a96
1 changed files with 3 additions and 0 deletions
3
mute-interpreter/src/env/core.rs
vendored
3
mute-interpreter/src/env/core.rs
vendored
|
@ -64,6 +64,9 @@ pub(super) fn core() -> HashMap<String, Value> {
|
||||||
.unwrap_or(Node::Int(0))
|
.unwrap_or(Node::Int(0))
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
// Errors!
|
||||||
|
// XXX: I fully expect errors to be overhauled when chaining and tagged unions
|
||||||
|
// are implemented.
|
||||||
(
|
(
|
||||||
"error",
|
"error",
|
||||||
NativeFunc(|args| {
|
NativeFunc(|args| {
|
||||||
|
|
Loading…
Reference in a new issue