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