result
result copied to clipboard
feat: add overload to unwrap_or_raise to raise the exception itself
add overload to unwrap_or_raise to raise the exception itself
n2 = Err(ValueError('nay'))
with pytest.raises(ValueError) as exc_info:
n2.unwrap_or_raise()