Closed markspanbroek closed 2 years ago
Allows for error handling code that is only interested in the error part of a Result. For instance when dealing with ?!void Results.
?!void
proc foo: ?!void = # do something that might fail if error =? foo().errorOption: echo "something went wrong: ", error.msg
Allows for error handling code that is only interested in the error part of a Result. For instance when dealing with
?!void
Results.