Better HN
topnewbestaskshowjobs
Log inSign up

andynator1000

1 karma · joined Jan 28, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

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)`