|
|
|
|
|
by amitport
1709 days ago
|
|
You can declare Sometype|void return type. So the compiler will check that you either don't use the return type or treat it as Sometype. Of course this depends on the logic and for failed routes you should return appropriate results. |
|