.ai import: the nested-arrays refusal uses the translated nesting message

This commit is contained in:
bflatastic
2026-11-03 22:17:45 +07:00
parent e3ef19142f
commit 9d3c45a7b5
+1 -1
View File
@@ -88,7 +88,7 @@ impl<'a> Reader<'a> {
}
// Arrays nest as deep as their `[`s; dropping a deeper one would overflow the stack.
if self.marks.len() >= MAX_DEPTH {
return Err("it has arrays nested too deeply".into());
return Err("its objects are nested too deeply".into());
}
self.marks.push(self.stack.len());
return self.push(V::Mark);