Commit 66a90c5
ErrnoException: add a ctor overload that takes errno as an argument
ErrnoException used to take the global errno variable; the overloaded ctor allows one to provide a custom errno
(e.g., one that's been stored in a variable, or asynchronous operations).
Add unittests to the new ErrnoException ctor1 parent 70ea6a1 commit 66a90c5
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1457 | 1457 | | |
1458 | 1458 | | |
1459 | 1459 | | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1460 | 1464 | | |
1461 | 1465 | | |
1462 | 1466 | | |
| |||
1473 | 1477 | | |
1474 | 1478 | | |
1475 | 1479 | | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1476 | 1499 | | |
1477 | 1500 | | |
1478 | 1501 | | |
| |||
0 commit comments