Open bobjervis opened 6 years ago
if you have an if-else where one branch is a 'return' but another is a 'throw' the compiler will flag the end of function as needing a return value.
if you have an if-else where one branch is a 'return' but another is a 'throw' the compiler will flag the end of function as needing a return value.