File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ julia> # (✓) Sort of fast, but only possible at runtime.
7070
7171julia> # In addtion, we can only access varnames as they appear in the model!
7272 vi[@varname(x)]
73- ERROR: KeyError: key x not found
73+ ERROR: getvalue: x was not found in the values provided
7474[...]
7575
7676julia> vi[@varname(x[1:2])]
77- ERROR: KeyError: key x[1:2] not found
77+ ERROR: getvalue: x[1:2] was not found in the values provided
7878[...]
7979```
8080
@@ -177,11 +177,11 @@ julia> svi_dict[@varname(m.a[1])]
1771771.0
178178
179179julia> svi_dict[@varname(m.a[2])]
180- ERROR: BoundsError: attempt to access 1-element Vector{Float64} at index [2]
180+ ERROR: getvalue: m.a[2] was not found in the values provided
181181[...]
182182
183183julia> svi_dict[@varname(m.b)]
184- ERROR: type NamedTuple has no field b
184+ ERROR: getvalue: m.b was not found in the values provided
185185[...]
186186```
187187"""
You can’t perform that action at this time.
0 commit comments