andynator1000
Re:Show HN: Returnif – the conditional return statement
on Monday July 23, 2018 @05:00PM (#17595952)
The proposed syntax allows for a precondition which can evaluate an expression and return that.
So if you wanted to format the error returned you could do `returnif error : formatError("Error context:", error)`