Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andynator1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
andynator1000
8y ago
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)`