diff options
| author | Travis Staloch <1562827+travisstaloch@users.noreply.github.com> | 2023-10-26 21:12:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-27 05:50:33 -0400 |
| commit | 8f48533691e93538846993f78f732272a03a600b (patch) | |
| tree | 0d0d29c5019b4a64c3d3dd71c41fa3e2fc5dc6f3 /lib/std/json | |
| parent | 29b05897a5e25e699f176b37ba558eea2694136b (diff) | |
| download | zig-8f48533691e93538846993f78f732272a03a600b.tar.gz zig-8f48533691e93538846993f78f732272a03a600b.zip | |
GenericReader error set fixes
add error.EndOfStream to readEnum() and isBytes() so that users can
catch these errors. this also prevents them from panicing with
'invalid error value' on EndOfStream.
test both methods.
Diffstat (limited to 'lib/std/json')
0 files changed, 0 insertions, 0 deletions
