typescript-optional icon indicating copy to clipboard operation
typescript-optional copied to clipboard

orElseThrow should be able to interrupt the application flow.

Open victorbarlac opened this issue 2 years ago • 0 comments

In some cases, orElseThrow() won't stop the normal flow of the application as it happens in Java, providing undefined or wrong values as return value of a method that is using Optional

victorbarlac avatar Apr 05 '22 18:04 victorbarlac