Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
When is panicking appropriate instead of returning a Result?
A
Never
B
For every error in servers
C
Always in libraries
D
For bugs/broken invariants the caller can't reasonably handle; use Result for expected failures like I/O or bad input