fn fieldMaxDepth(
self: *Container,
name: ?[]const u8,
val: anytype,
options: ValueOptions,
depth: usize,
) DepthError!void self: *Containername: ?[]const u8valoptions: ValueOptionsdepth: usize771
772
773
774
775
776
777
778
779
780 fn fieldMaxDepth(
self: *Container,
name: ?[]const u8,
val: anytype,
options: ValueOptions,
depth: usize,
) DepthError!void {
try checkValueDepth(val, depth);
try self.fieldArbitraryDepth(name, val, options);
}
Returns
error.ExceededMaxDepthifdepthis exceeded.